refactor: Update GitHub Actions workflow to support multiple platforms
This commit is contained in:
11
.github/workflows/github-actions-builder.yml
vendored
11
.github/workflows/github-actions-builder.yml
vendored
@@ -12,7 +12,16 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
platform: [ubuntu-latest,macos-latest,windows-latest]
|
||||
# platform: [ubuntu-latest,macos-latest,windows-latest]
|
||||
settings:
|
||||
- platform: 'macos-latest' # for Arm based macs (M1 and above).
|
||||
args: '--target aarch64-apple-darwin'
|
||||
- platform: 'macos-latest' # for Intel based macs.
|
||||
args: '--target x86_64-apple-darwin'
|
||||
- platform: 'ubuntu-22.04' # for Tauri v1 you could replace this with ubuntu-20.04.
|
||||
args: '--target x86_64-unknown-linux-gnu'
|
||||
- platform: 'windows-latest'
|
||||
args: '--target x86_64-pc-windows-msvc'
|
||||
|
||||
runs-on: ${{ matrix.platform }}
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user