mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 05:53:41 +02:00
Add macos to build to releases (#25)
This commit is contained in:
@@ -54,6 +54,19 @@ jobs:
|
||||
args: -9
|
||||
strip: false
|
||||
ui: true
|
||||
- os: macos-latest
|
||||
file: target/release/boilr
|
||||
asset_name: macos_x86_64_BoilR
|
||||
args: -9
|
||||
strip: false
|
||||
ui: false
|
||||
- os: macos-latest
|
||||
file: target/aarch64-apple-darwin/release/boilr
|
||||
asset_name: macos_darwin_BoilR
|
||||
args: -9
|
||||
strip: false
|
||||
ui: false
|
||||
target: aarch64-apple-darwin
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Rust Cache
|
||||
@@ -68,10 +81,13 @@ jobs:
|
||||
if: ${{ matrix.ui}}
|
||||
run: cargo build --release --features ui
|
||||
- name: Build Release Version CLI
|
||||
if: ${{ matrix.ui == false}}
|
||||
if: ${{ matrix.ui == false && matrix.target != 'aarch64-apple-darwin'}}
|
||||
run: cargo build --release
|
||||
- name: Build aarch64 Release Version CLI
|
||||
if: ${{ matrix.ui == false && matrix.target == 'aarch64-apple-darwin'}}
|
||||
run: rustup target add aarch64-apple-darwin && cargo build --release --target aarch64-apple-darwin
|
||||
- name: Compress binaries
|
||||
if: ${{ matrix.os == 'windows-latest' || matrix.ui == false}}
|
||||
if: ${{ (matrix.os == 'windows-latest' || matrix.ui == false) && matrix.os != 'macos-latest' }}
|
||||
uses: svenstaro/upx-action@v2
|
||||
with:
|
||||
file: ${{ matrix.file }}
|
||||
|
||||
Reference in New Issue
Block a user