Skip to content

Commit

Permalink
Update pub.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilaz authored Jun 29, 2024
1 parent 9a3a2a3 commit cfc0d5c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
# - platform: 'ubuntu-20.04' # for ARMv7 linux
# args: '--target armv7-unknown-linux-gnueabihf'
- platform: 'ubuntu-20.04' # for ARM64 linux
args: '--target aarch64-unknown-linux-gnu'
args: 'target aarch64-unknown-linux-gnu'
# - platform: 'windows-latest'
# args: ''

Expand All @@ -39,7 +39,7 @@ jobs:
uses: dtolnay/rust-toolchain@stable
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,x86_64-apple-darwin' || matrix.args == '--target aarch64-unknown-linux-gnu' && 'aarch64-unknown-linux-gnu' || '' }}
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || matrix.args == 'target aarch64-unknown-linux-gnu' && 'aarch64-unknown-linux-gnu' || '' }}

- name: install dependencies (ubuntu x86 only)
if: matrix.platform == 'ubuntu-20.04' && matrix.args == '' # This must match the platform value defined above.
Expand All @@ -48,7 +48,7 @@ jobs:
sudo apt-get install -y libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
- name: install dependencies (ubuntu ARM64 only)
if: matrix.platform == 'ubuntu-20.04' && matrix.args == '--target aarch64-unknown-linux-gnueabihf' # This must match the platform value defined above.
if: matrix.platform == 'ubuntu-20.04' && matrix.args == 'target aarch64-unknown-linux-gnueabihf' # This must match the platform value defined above.
run: |
sudo apt-get update
sudo apt install gcc-aarch64-linux-gnu
Expand Down

0 comments on commit cfc0d5c

Please sign in to comment.