ci: add aarch64 macOS builds for releases
This commit is contained in:
parent
875f11f4c9
commit
9a9e756940
1 changed files with 14 additions and 3 deletions
17
.github/workflows/publish.yml
vendored
17
.github/workflows/publish.yml
vendored
|
|
@ -16,9 +16,19 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
platform: [macos-latest, ubuntu-latest, 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: "ubuntu-latest"
|
||||||
|
args: "--bundles appimage,deb,updater"
|
||||||
|
- platform: "windows-latest"
|
||||||
|
args: ""
|
||||||
|
|
||||||
runs-on: ${{ matrix.platform }}
|
runs-on: ${{ matrix.settings.platform }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
|
@ -33,7 +43,7 @@ jobs:
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
|
|
||||||
- name: install dependencies (ubuntu only)
|
- name: install dependencies (ubuntu only)
|
||||||
if: matrix.platform == 'ubuntu-latest'
|
if: matrix.settings.platform == 'ubuntu-latest'
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev javascriptcoregtk-4.1 libsoup-3.0 webkit2gtk-4.1 librsvg2-dev patchelf
|
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev javascriptcoregtk-4.1 libsoup-3.0 webkit2gtk-4.1 librsvg2-dev patchelf
|
||||||
|
|
@ -50,3 +60,4 @@ jobs:
|
||||||
releaseBody: "See the assets to download this version of fformat and install."
|
releaseBody: "See the assets to download this version of fformat and install."
|
||||||
releaseDraft: true
|
releaseDraft: true
|
||||||
prerelease: false
|
prerelease: false
|
||||||
|
args: ${{ matrix.settings.args }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue