diff --git a/.github/install-arm-linkers.yml b/.github/install-arm-linkers.yml new file mode 100644 index 0000000..2a268ae --- /dev/null +++ b/.github/install-arm-linkers.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aedca7d..acb0185 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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, '-') }} diff --git a/dist-workspace.toml b/dist-workspace.toml index 9c55129..681e896 100644 --- a/dist-workspace.toml +++ b/dist-workspace.toml @@ -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"