Skip to content

Commit

Permalink
specify ubuntu-2204 for linux arm builds
Browse files Browse the repository at this point in the history
  • Loading branch information
CramBL committed Aug 30, 2024
1 parent 8caa7c7 commit 645fd97
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-setup.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
- name: Install AArch64 Toolchain
if: matrix.os == 'ubuntu-2204'
run: sudo apt-get update && sudo apt-get install gcc-aarch64-linux-gnu libc6-dev-i386

- name: Install ARM Toolchain
if: matrix.os == 'ubuntu-2204'
run: sudo apt-get update && sudo apt-get install gcc-arm-linux-gnueabihf
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,10 @@ jobs:
with:
submodules: recursive
- name: "Install AArch64 Toolchain"
if: "matrix.os == 'ubuntu-2204'"
run: "sudo apt-get update && sudo apt-get install gcc-aarch64-linux-gnu libc6-dev-i386"
- name: "Install ARM Toolchain"
if: "matrix.os == 'ubuntu-2204'"
run: "sudo apt-get update && sudo apt-get install gcc-arm-linux-gnueabihf"
- uses: swatinem/rust-cache@v2
with:
Expand Down
6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,9 @@ install-path = "CARGO_HOME"
# Whether to install an updater program
install-updater = false
github-build-setup = "build-setup.yml"

[workspace.metadata.dist.github-custom-runners]
aarch64-unknown-linux-gnu = "ubuntu-2204"
aarch64-unknown-linux-musl = "ubuntu-2204"
arm-unknown-linux-musleabihf = "ubuntu-2204"
armv7-unknown-linux-musleabihf = "ubuntu-2204"

0 comments on commit 645fd97

Please sign in to comment.