Skip to content

Commit

Permalink
include apple silicon build
Browse files Browse the repository at this point in the history
  • Loading branch information
hacknus committed Mar 9, 2024
1 parent 017feed commit 945521a
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
asset_name: rust-serial-monitor-linux_x86.deb
asset_content_type: binary

build-macos:
build-macos-intel:
permissions: write-all
name: macos
runs-on: macos-11
Expand All @@ -55,6 +55,28 @@ jobs:
asset_name: rust-serial-monitor-macos_x86.app.zip
asset_content_type: binary

build-macos-apple-silicon:
permissions: write-all
name: macos apple silicon
runs-on: macos-14
steps:
- uses: actions/checkout@v3
- name: Update Libs
run: cargo install cargo-bundle
- name: Build
run: cargo bundle --release
- name: Compress
run: cd target/release/bundle/osx && ls && zip -r rust-serial-monitor.app.zip Serial\ Monitor.app/*
- name: Upload
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./target/release/bundle/osx/rust-serial-monitor.app.zip
asset_name: rust-serial-monitor-macos_apple_silicon.app.zip
asset_content_type: binary

build-windows:
permissions: write-all
name: windows
Expand Down

0 comments on commit 945521a

Please sign in to comment.