File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 1010
1111 strategy :
1212 matrix :
13- os : [ubuntu-latest, macOS-latest, windows-latest]
13+ os : [ubuntu-latest, ubuntu-24.04-arm, macOS-latest, windows-latest]
1414 rust : [stable]
1515
1616 runs-on : ${{ matrix.os }}
2727 run : |
2828 rustup target add x86_64-unknown-linux-musl
2929 sudo apt-get -qq install musl-tools
30+ - name : Setup MUSL aarch64
31+ if : matrix.os == 'ubuntu-24.04-arm'
32+ run : |
33+ rustup target add aarch64-unknown-linux-musl
34+ sudo apt-get -qq install musl-tools
3035 - name : Setup aarch64 mac
3136 if : matrix.os == 'macOS-latest'
3237 run : |
3843 make release_lnx
3944 cargo install --locked cargo-rpm
4045 make release_rpm
46+ - name : Build for linux aarch64
47+ if : matrix.os == 'ubuntu-24.04-arm'
48+ run : make release_lnx_aarch64
4149 - name : Build for macOS
4250 if : matrix.os == 'macOS-latest'
4351 run : make release_mac
Original file line number Diff line number Diff line change @@ -24,6 +24,10 @@ release_lnx:
2424 cargo build --locked --release --target=x86_64-unknown-linux-musl
2525 zip -j ${BIN_NAME} -v${VERSION} -x86_64-linux.zip target/x86_64-unknown-linux-musl/release/${BIN_NAME}
2626
27+ release_lnx_aarch64 :
28+ cargo build --locked --release --target=_aarch64-unknown-linux-musl
29+ zip -j ${BIN_NAME} -v${VERSION} -aarch64-linux.zip target/aarch64-unknown-linux-musl/release/${BIN_NAME}
30+
2731release_win :
2832 cargo build --locked --release --target=x86_64-pc-windows-msvc
2933 mv -v target/x86_64-pc-windows-msvc/release/${BIN_NAME} .exe ./
You can’t perform that action at this time.
0 commit comments