Skip to content

Commit

Permalink
build: cross-compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
caelansar committed Aug 20, 2023
1 parent 11e0f1d commit 0daae29
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,19 @@ jobs:
upload-assets:
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
include:
- os: macos-latest
target: x86_64-apple-darwin
features: vm
- os: macos-latest
target: aarch64-apple-darwin
features: vm
- os: ubuntu-latest
target: aarch64-unknown-linux-gnu
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
- os: windows-latest
target: x86_64-pc-windows-msvc
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand All @@ -37,4 +43,5 @@ jobs:
tar: unix
zip: windows
features: ${{ matrix.features || '' }}
target: ${{ matrix.target }}
token: ${{ secrets.TOKEN }}

0 comments on commit 0daae29

Please sign in to comment.