1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-03 04:48:52 -05:00

ci: fix sysroot setup (#12958)

This commit is contained in:
Yoshiya Hinosawa 2021-12-01 22:02:33 +09:00 committed by GitHub
parent 9a10668694
commit 7ef76c1dc3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -199,10 +199,6 @@ jobs:
sudo chroot /sysroot bash -c \
'ln -f "$(which ld.lld-13)" "$(which ld)"'
# Make rust available inside the chroot environment.
sudo mkdir -p /sysroot/usr/share/rust
sudo mount --rbind /usr/share/rust /sysroot/usr/share/rust
# Make node (needed to run the benchmarks) available.
sudo ln --target /sysroot/usr/bin "$(which node)"
@ -216,7 +212,7 @@ jobs:
fi
# Add cargo, rustc, and deno to $PATH.
source /usr/share/rust/.cargo/env
source /home/runner/.cargo/env
export PATH="$PATH:$(pwd)/target/release"
# Rust build configuration.