What changed, and why it matters
This commit only changes the project's automated build and test configuration on GitHub. It upgrades the macOS runner version, renames one step label, adds a new macOS build job for simulator variants, and adjusts artifact upload patterns. There is no change to the actual firmware, wallet, or cryptography code, and no security issue is apparent.
No security action needed. Treat as routine CI infrastructure maintenance.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff modifies .github/workflows/ci-common.yml. It bumps rust-unit-tests-macos and a new build-macos job from macos-14 to macos-15, lowercases an ‘Install rust’ step label to ‘install rust’, expands the upload-artifact path from ‘build/bin/simulator’ to ‘build/bin/simulator*’, and introduces a matrix job that builds ‘simulator’ and ‘simulator-graphical’ on macOS aarch64, installs brew dependencies (cbindgen, bindgen, hidapi), protoc, and Rust, then uploads the resulting binaries. No source code, build scripts, or cryptographic logic in the firmware are touched.
Changed components
.github/workflows/ci-common.ymlInspect captured patch +51 / −3
diff --git a/.github/workflows/ci-common.yml b/.github/workflows/ci-common.yml
index 9f2603c..2aadb44 100644
--- a/.github/workflows/ci-common.yml
+++ b/.github/workflows/ci-common.yml
@@ -117,7 +117,7 @@ jobs:
# cmocka isn't compatible with Mach-O, so no point in running the C tests.
rust-unit-tests-macos:
- runs-on: macos-14
+ runs-on: macos-15
steps:
- name: Clone the repo
uses: actions/checkout@v4
@@ -135,7 +135,7 @@ jobs:
version: "21.x"
repo-token: ${{ secrets.GITHUB_TOKEN }}
- - name: Install rust
+ - name: install rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
rust-src-dir: src/rust
@@ -238,7 +238,55 @@ jobs:
build*/bin/*.bin
build*/bin/*.elf
build*/bin/*.map
- build*/bin/simulator
+ build*/bin/simulator*
+
+ # Build simulators for macos aarch64
+ build-macos:
+ strategy:
+ matrix:
+ target:
+ - simulator
+ - simulator-graphical
+ runs-on: macos-15
+ steps:
+ - name: Clone the repo
+ uses: actions/checkout@v4
+ with:
+ # Github action is broken: https://github.com/actions/checkout/issues/1638
+ # Remove the below line when the issue is resolved
+ ref: ${{ github.ref }}
+ fetch-depth: 0
+ fetch-tags: true
+ submodules: recursive
+
+ - name: Install system dependencies
+ run: brew install cbindgen bindgen hidapi
+
+ - name: Install protoc
+ uses: arduino/setup-protoc@v3
+ with:
+ version: "21.x"
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
+
+ - name: install rust
+ uses: actions-rust-lang/setup-rust-toolchain@v1
+ with:
+ rust-src-dir: src/rust
+ components: rust-src
+
+ - name: Build ${{ matrix.target }}
+ run: make -j$(($(nproc)+1)) ${{ matrix.target }}
+
+ - name: Print hashes
+ run: sha256sum build*/bin/*
+
+ - name: Upload artifact
+ if: github.event_name == 'push' && !cancelled()
+ uses: actions/upload-artifact@v4
+ with:
+ name: ${{matrix.target}}-apple-aarch64-darwin-${{github.sha}}.bin
+ path: |
+ build*/bin/simulator*
doc:
runs-on: ubuntu-22.04
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.