File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -111,12 +111,17 @@ jobs:
111111 runs-on : ubuntu-latest
112112 # Ubuntu's version of rustc uses its own LLVM instead of being a real native package.
113113 # This leaves us with an incompatible LLVM version when linking. Instead, use a real OS.
114- container : debian:testing
114+ # We further (temporarily) use Debian experimental since testing links rustc against the
115+ # brand-new llvm-10, but clang/llvm still default to LLVM 9.
116+ container : debian:experimental
115117 env :
116118 TOOLCHAIN : stable
117119 steps :
118120 - name : Install native Rust toolchain, Valgrind, and build utilitis
119121 run : |
122+ echo 'Package: llvm llvm-runtime clang lld' > /etc/apt/preferences.d/99-llvm10
123+ echo 'Pin: release n=experimental' >> /etc/apt/preferences.d/99-llvm10
124+ echo 'Pin-Priority: 995' >> /etc/apt/preferences.d/99-llvm10
120125 apt-get update
121126 apt-get -y dist-upgrade
122127 apt-get -y install cargo valgrind lld git g++ clang
You can’t perform that action at this time.
0 commit comments