Skip to content

Commit

Permalink
Update build-release.yml with platform and target configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
rushi3691 committed Mar 26, 2024
1 parent b6914ff commit adf2712
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,22 @@ jobs:
strategy:
fail-fast: false
matrix:
platform: [macos-latest, ubuntu-22.04, windows-latest]
# platform: [macos-latest, ubuntu-22.04, windows-latest]
settings:
- platform: 'macos-latest'
args: '--target universal-apple-darwin'
- platform: 'macos-latest'
args: '--target x86_64-apple-darwin'
- platform: 'macos-latest'
args: '--target aarch64-apple-darwin'
# - platform: 'macos-latest'
# # args: '--target aarch64-apple-darwin'
- platform: 'ubuntu-latest'
args: ''
- platform: 'windows-latest'
args: '--target x86_64-pc-windows-msvc'
- platform: 'windows-latest'
args: '--target i686-pc-windows-msvc'
runs-on: ${{ matrix.platform }}

steps:
Expand All @@ -28,6 +43,8 @@ jobs:
- name: Rust setup
uses: dtolnay/rust-toolchain@stable
with:
targets: aarch64-apple-darwin

- name: Rust cache
uses: swatinem/rust-cache@v2
Expand All @@ -54,4 +71,5 @@ jobs:
releaseName: 'Fortinet-connect v__VERSION__' # tauri-action replaces \_\_VERSION\_\_ with the app version.
releaseBody: 'See the assets to download and install this version.'
releaseDraft: true
prerelease: false
prerelease: false
args: ${{ matrix.settings.args }}

0 comments on commit adf2712

Please sign in to comment.