Skip to content

Commit e4abf87

Browse files
authored
Update GH MacOs runners (#1551)
# Description @swift-nav/algint-team Update macos13 (deprecated GH runner, still intel) to an aarch64 macos15 runner. # API compatibility Does this change introduce a API compatibility risk? No
1 parent 455d59a commit e4abf87

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/rust.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ jobs:
5959
include:
6060
- os: ubuntu-24.04
6161
target: x86_64-unknown-linux-musl
62-
- os: macos-13
63-
target: x86_64-apple-darwin
62+
- os: macos-15
63+
target: aarch64-apple-darwin
6464
- os: windows-2022
6565
target: x86_64-pc-windows-msvc
6666
runs-on: ${{ matrix.os }}
@@ -112,7 +112,7 @@ jobs:
112112
uses: swift-nav/swift-cli-publisher@v3
113113
env:
114114
DL_LINUX: "sbp_tools-${{ env.VERSION }}-x86_64-unknown-linux-musl.zip"
115-
DL_MAC: "sbp_tools-${{ env.VERSION }}-x86_64-apple-darwin.zip"
115+
DL_MAC: "sbp_tools-${{ env.VERSION }}-aarch64-apple-darwin.zip"
116116
DL_WIN: "sbp_tools-${{ env.VERSION }}-x86_64-pc-windows-msvc.zip"
117117
TOOLS: "sbp2json,json2sbp,json2json"
118118
with:

MODULE.bazel.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/ci_build_rust.bash

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -ex
55
VERSION="$(git describe --always --tags --dirty)"
66

77
if [ "$RUNNER_OS" == "macOS" ]; then
8-
ARTIFACT_NAME="sbp_tools-${VERSION}-x86_64-apple-darwin.zip"
8+
ARTIFACT_NAME="sbp_tools-${VERSION}-aarch64-apple-darwin.zip"
99
EXECUTABLES=("sbp2json" "json2sbp" "json2json")
1010
PACKAGE_CMD="zip ../../../$ARTIFACT_NAME ${EXECUTABLES[*]}"
1111
elif [ "$RUNNER_OS" == "Linux" ]; then
@@ -36,8 +36,8 @@ elif [ "$RUNNER_OS" == "Windows" ]; then
3636
cargo build --all --release --target=x86_64-pc-windows-msvc
3737
cd target/x86_64-pc-windows-msvc/release
3838
elif [ "$RUNNER_OS" == "macOS" ]; then
39-
cargo build --all --release --target=x86_64-apple-darwin
40-
cd target/x86_64-apple-darwin/release
39+
cargo build --all --release --target=aarch64-apple-darwin
40+
cd target/aarch64-apple-darwin/release
4141
else
4242
cargo build --all --release
4343
cd target/release

0 commit comments

Comments
 (0)