Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/tauri-edge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ jobs:
args: "--target aarch64-apple-darwin"
- platform: "ubuntu-22.04"
args: ""
- platform: "depot-ubuntu-24.04-arm-4"
args: "--target aarch64-unknown-linux-gnu"

runs-on: ${{ matrix.platform }}

Expand All @@ -81,7 +83,7 @@ jobs:
ssh-private-key: ${{ secrets.TS_CLONE_DEPLOY_KEY }}

- name: install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-22.04'
if: matrix.platform == 'ubuntu-22.04' || matrix.platform == 'depot-ubuntu-24.04-arm-4'
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf libasound2-dev
Expand All @@ -102,7 +104,7 @@ jobs:
- name: install Rust stable
uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.platform == 'depot-macos-latest' && 'aarch64-apple-darwin' || '' }}
targets: ${{ matrix.platform == 'depot-macos-latest' && 'aarch64-apple-darwin' || (matrix.platform == 'depot-ubuntu-24.04-arm-4' && 'aarch64-unknown-linux-gnu' || '') }}

- name: install frontend dependencies
run: bun install
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/tauri-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ jobs:
args: "--target aarch64-apple-darwin"
- platform: "depot-ubuntu-22.04-4"
args: ""
- platform: "depot-ubuntu-24.04-arm-4"
args: "--target aarch64-unknown-linux-gnu"

runs-on: ${{ matrix.platform }}
steps:
Expand All @@ -89,7 +91,7 @@ jobs:
ssh-private-key: ${{ secrets.TS_CLONE_DEPLOY_KEY }}

- name: install dependencies (ubuntu only)
if: matrix.platform == 'depot-ubuntu-22.04-4' # This must match the platform value defined above.
if: matrix.platform == 'depot-ubuntu-22.04-4' || matrix.platform == 'depot-ubuntu-24.04-arm-4'
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf libasound2-dev
Expand All @@ -107,8 +109,8 @@ jobs:
- name: install Rust stable
uses: dtolnay/rust-toolchain@stable # Set this to dtolnay/rust-toolchain@nightly
with:
# Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds.
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin' || '' }}
# Targets are set for macOS and ARM Linux runners to enable cross-compilation.
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin' || (matrix.platform == 'depot-ubuntu-24.04-arm-4' && 'aarch64-unknown-linux-gnu' || '') }}

- name: Rust cache
uses: swatinem/rust-cache@v2
Expand Down
Loading