File tree 1 file changed +6
-1
lines changed
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -111,12 +111,17 @@ jobs:
111
111
runs-on : ubuntu-latest
112
112
# Ubuntu's version of rustc uses its own LLVM instead of being a real native package.
113
113
# 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
115
117
env :
116
118
TOOLCHAIN : stable
117
119
steps :
118
120
- name : Install native Rust toolchain, Valgrind, and build utilitis
119
121
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
120
125
apt-get update
121
126
apt-get -y dist-upgrade
122
127
apt-get -y install cargo valgrind lld git g++ clang
You can’t perform that action at this time.
0 commit comments