Skip to content

Commit

Permalink
feat: add installation of armv7 and aarch64 linkers in CI workflows
Browse files Browse the repository at this point in the history
Signed-off-by: simonsan <[email protected]>
  • Loading branch information
simonsan committed Nov 30, 2024
1 parent a85ac02 commit 582870a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/install-arm-linkers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- name: Install armv7 and aarch64 Linkers
if: runner.os == 'Linux'
run: |
sudo apt install gcc-aarch64-linux-gnu
sudo apt install gcc-arm-linux-gnueabihf
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,11 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: "Install armv7 and aarch64 Linkers"
if: "runner.os == 'Linux'"
run: |
sudo apt install gcc-aarch64-linux-gnu
sudo apt install gcc-arm-linux-gnueabihf
- uses: swatinem/rust-cache@v2
with:
key: ${{ join(matrix.targets, '-') }}
Expand Down
1 change: 1 addition & 0 deletions dist-workspace.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ pr-run-mode = "upload"
tap = "rustic-rs/homebrew-tap"
# Publish jobs to run in CI
publish-jobs = ["homebrew"]
github-build-setup = "../install-arm-linkers.yml"

[dist.github-custom-runners]
aarch64-apple-darwin = "macos-latest"
Expand Down

0 comments on commit 582870a

Please sign in to comment.