Skip to content

Commit

Permalink
Fix the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
antoyo committed Jul 24, 2024
1 parent 23252af commit 792085f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -150,15 +150,15 @@ jobs:
- if: matrix.toolchain == 'rustc_codegen_gcc'
run: |
apt-get -y --no-install-recommends purge cpp gcc
curl --proto '=https' --tlsv1.2 -sSfLO https://github.com/antoyo/gcc/releases/download/master-6351b299c/gcc-13.deb
curl --proto '=https' --tlsv1.2 -sSfLO https://github.com/rust-lang/gcc/releases/latest/download/gcc-13.deb
dpkg -i gcc-13.deb
git clone --depth 1 --branch $(linux/scripts/min-tool-version.sh rustc) https://github.com/rust-lang/rust.git rust-repo
echo "MAKE_KRUSTFLAGS=KRUSTFLAGS=-Zcodegen-backend=$(pwd)/rust-repo/compiler/rustc_codegen_gcc/target/release/librustc_codegen_gcc.so" >> $GITHUB_ENV
cd rust-repo/compiler/rustc_codegen_gcc
echo /usr/lib > gcc_path
echo 'gcc-path = "/usr/lib"' > config.toml
sed -i '/channel/d' rust-toolchain
export RUSTC_BOOTSTRAP=1
./y.sh prepare --only-libcore
Expand Down

0 comments on commit 792085f

Please sign in to comment.