Skip to content

Commit 5fab28d

Browse files
Update release workflow
1 parent 64c2c3d commit 5fab28d

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)