File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,22 +48,23 @@ jobs:
4848
4949 - name : Set up target (aarch64-unknown-linux-*)
5050 if : ${{ startsWith(matrix.target, 'aarch64-unknown-linux-') }}
51- run : sudo apt update -y && sudo apt install -y gcc-aarch64-linux-gnu
51+ run : |
52+ sudo dpkg --add-architecture arm64
53+ sudo apt update -y
54+ sudo apt install -y gcc-aarch64-linux-gnu libssl-dev:arm64
5255
5356 - name : Set up target (*-musl)
5457 if : ${{ endsWith(matrix.target, '-musl') }}
55- run : sudo apt update -y && sudo apt install -y musl-dev musl-tools
58+ run : |
59+ sudo apt update -y
60+ sudo apt install -y musl-dev musl-tools
5661
5762 - name : Set up target (aarch64-unknown-linux-musl)
5863 if : ${{ matrix.target == 'aarch64-unknown-linux-musl' }}
5964 run : |
6065 echo CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER=rust-lld >> $GITHUB_ENV
6166 echo CC=aarch64-linux-gnu-gcc >> $GITHUB_ENV
6267
63- - name : Install dependenies (*-linux-*)
64- if : ${{ contains(matrix.target, '-linux-') }}
65- run : sudo apt update -y && sudo apt install -y libssl-dev
66-
6768 - name : Build
6869 run : cargo build --bins --locked --release --target ${{ matrix.target }}
6970
You can’t perform that action at this time.
0 commit comments