File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 3232 run : make release_lnx
3333 - name : Build for macOS
3434 if : matrix.os == 'macOS-latest'
35- run : make release_mac
35+ run : |
36+ rustup target add x86_64-apple-darwin
37+ make release_mac_x86_64
38+ make release_mac_aarch64
3639 - name : Build for Windows
3740 if : matrix.os == 'windows-latest'
3841 run : make release_win
Original file line number Diff line number Diff line change @@ -28,6 +28,10 @@ release_win:
2828 cargo build --release --target=x86_64-pc-windows-msvc
2929 7z a ${BIN_NAME} -v${VERSION} -x86_64-win.zip target/x86_64-pc-windows-msvc/release/${BIN_NAME} .exe
3030
31- release_mac :
31+ release_mac_x86_64 :
3232 cargo build --release --target=x86_64-apple-darwin
3333 zip -j ${BIN_NAME} -v${VERSION} -x86_64-mac.zip target/x86_64-apple-darwin/release/${BIN_NAME}
34+
35+ release_mac_aarch64 :
36+ cargo build --release --target=aarch64-apple-darwin
37+ zip -j ${BIN_NAME} -v${VERSION} -aarch64-mac.zip target/aarch64-apple-darwin/release/${BIN_NAME}
You can’t perform that action at this time.
0 commit comments