Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,32 @@ concurrency:
cancel-in-progress: true

jobs:
mac-intel:
name: Intel Mac build and startup
runs-on: macos-15-intel
timeout-minutes: 15
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: "1.27.4"
check-latest: false
cache: true
- name: Build native Intel Mac binaries
run: |
test "$(uname -m)" = x86_64
source packaging/toolchain.env
test "$(go env GOVERSION)" = "go${BARN_GO_VERSION}"
make build
- name: Check CLI and helper startup
env:
BARN_HOME: ${{ runner.temp }}/barn-intel
run: |
./bin/barn version
./bin/barn --help
./bin/barn-hosts-helper --help
mac:
name: Mac host and native component gates
runs-on: xcode-27
Expand Down
4 changes: 4 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ image-pipeline boundary tests, installer tests, maintenance ownership, and the
dependency-license inventory. It must
pass before a pull request is ready.

The Intel Mac CI job builds the CLI and hosts helper on `macos-15-intel`
and checks that both executables start. Intel Mac coverage is limited to
build and startup checks; the platform remains Tier 2.

The toolchain is pinned in `packaging/toolchain.env` and CI asserts the exact
versions, so install those versions locally:

Expand Down