X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=.github%2Fworkflows%2Fbuild.yml;fp=.github%2Fworkflows%2Fbuild.yml;h=a7a62041745992f48cf506faa43ac0b385f16a8d;hb=0ab7f90578bcc8983c24a986b817ffeb5791fccc;hp=7339536f7ee482a386ec06b6048a3803ab6e3034;hpb=3c12b0d0af0754746ebeb4a916634fffa0a2c28c;p=rust-lightning diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7339536f..a7a62041 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -111,12 +111,17 @@ jobs: runs-on: ubuntu-latest # Ubuntu's version of rustc uses its own LLVM instead of being a real native package. # This leaves us with an incompatible LLVM version when linking. Instead, use a real OS. - container: debian:testing + # We further (temporarily) use Debian experimental since testing links rustc against the + # brand-new llvm-10, but clang/llvm still default to LLVM 9. + container: debian:experimental env: TOOLCHAIN: stable steps: - name: Install native Rust toolchain, Valgrind, and build utilitis run: | + echo 'Package: llvm llvm-runtime clang lld' > /etc/apt/preferences.d/99-llvm10 + echo 'Pin: release n=experimental' >> /etc/apt/preferences.d/99-llvm10 + echo 'Pin-Priority: 995' >> /etc/apt/preferences.d/99-llvm10 apt-get update apt-get -y dist-upgrade apt-get -y install cargo valgrind lld git g++ clang