File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,23 +46,18 @@ jobs:
4646 rustup component add llvm-tools-preview --toolchain stable
4747 rustup component add rust-std-${{ matrix.target }} --toolchain stable
4848
49- - name : Set up target (aarch64-unknown-linux-*)
50- if : ${{ startsWith(matrix.target, 'aarch64-unknown-linux-') }}
51- run : |
52- sudo apt update -y
53- sudo apt install -y gcc-aarch64-linux-gnu
54-
5549 - name : Set up target (*-musl)
5650 if : ${{ endsWith(matrix.target, '-musl') }}
5751 run : |
5852 sudo apt update -y
5953 sudo apt install -y musl-dev musl-tools
6054
61- - name : Set up target (aarch64-unknown-linux-musl )
62- if : ${{ matrix.target == 'aarch64-unknown-linux-musl ' }}
55+ - name : Set up target (aarch64-unknown-linux-gnu )
56+ if : ${{ matrix.target == 'aarch64-unknown-linux-gnu ' }}
6357 run : |
64- echo CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER=rust-lld >> $GITHUB_ENV
65- echo CC=aarch64-linux-gnu-gcc >> $GITHUB_ENV
58+ sudo apt update -y
59+ sudo apt install -y gcc-aarch64-linux-gnu
60+ echo CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc >> $GITHUB_ENV
6661
6762 - name : Build
6863 run : cargo build --bins --locked --release --target ${{ matrix.target }}
You can’t perform that action at this time.
0 commit comments