0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-12-24 16:19:19 -05:00

Disable broken aarch64 CI build (#289)

This commit is contained in:
Ryan Dahl 2020-02-19 22:37:25 -05:00 committed by GitHub
parent 9b83495976
commit 2aeb4e0cef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,8 +19,8 @@ jobs:
target: x86_64-apple-darwin target: x86_64-apple-darwin
- os: ubuntu-16.04 - os: ubuntu-16.04
target: "x86_64-unknown-linux-gnu" target: "x86_64-unknown-linux-gnu"
- os: ubuntu-16.04 # - os: ubuntu-16.04
target: aarch64-unknown-linux-gnu # target: aarch64-unknown-linux-gnu
- os: windows-2019 - os: windows-2019
target: x86_64-pc-windows-msvc target: x86_64-pc-windows-msvc
@ -48,21 +48,23 @@ jobs:
python-version: "2.7.x" python-version: "2.7.x"
architecture: x64 architecture: x64
- name: Install cross compilation toolchain # TODO(ry) Reenable arm build
if: matrix.config.target == 'aarch64-unknown-linux-gnu' # https://github.com/denoland/rusty_v8/runs/456845868
run: | # - name: Install cross compilation toolchain
rustup target add aarch64-unknown-linux-gnu # if: matrix.config.target == 'aarch64-unknown-linux-gnu'
# run: |
sudo apt install -yq --no-install-suggests --no-install-recommends \ # rustup target add aarch64-unknown-linux-gnu
binfmt-support g++-5-aarch64-linux-gnu g++-5-multilib \ #
gcc-5-aarch64-linux-gnu libc6-arm64-cross qemu qemu-user \ # sudo apt install -yq --no-install-suggests --no-install-recommends \
qemu-user-binfmt # binfmt-support g++-5-aarch64-linux-gnu g++-5-multilib \
# gcc-5-aarch64-linux-gnu libc6-arm64-cross qemu qemu-user \
sudo ln -s /usr/aarch64-linux-gnu/lib/ld-linux-aarch64.so.1 \ # qemu-user-binfmt
/lib/ld-linux-aarch64.so.1 #
# sudo ln -s /usr/aarch64-linux-gnu/lib/ld-linux-aarch64.so.1 \
echo "::set-env name=CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER::/usr/bin/aarch64-linux-gnu-gcc-5" # /lib/ld-linux-aarch64.so.1
echo "::set-env name=QEMU_LD_PREFIX::/usr/aarch64-linux-gnu" #
# echo "::set-env name=CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER::/usr/bin/aarch64-linux-gnu-gcc-5"
# echo "::set-env name=QEMU_LD_PREFIX::/usr/aarch64-linux-gnu"
- name: Install and start sccache - name: Install and start sccache
shell: pwsh shell: pwsh