Skip to content

Commit

Permalink
Merge pull request #1743 from cachix/add-rosetta-runners
Browse files Browse the repository at this point in the history
  • Loading branch information
sandydoo authored Feb 26, 2025
2 parents 9e4003b + cf75f42 commit 4000b01
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 13 deletions.
25 changes: 13 additions & 12 deletions .github/workflows/buildtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
matrix:
os:
[
[self-hosted, linux, ARM64],
[self-hosted, linux, X64],
[macos-13],
[self-hosted, macOS, ARM64],
[self-hosted, linux, ARM64],
[self-hosted, macOS, X64],
]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -38,6 +38,7 @@ jobs:
- id: build
run: |
bin=$(nix build --print-out-paths)
echo "$bin"
echo "bin=$bin" >> $GITHUB_OUTPUT
- name: Run tests
run: ./result/bin/devenv test
Expand All @@ -49,10 +50,10 @@ jobs:
matrix:
os:
[
[self-hosted, linux, ARM64],
[self-hosted, linux, X64],
[macos-13],
[self-hosted, macOS, ARM64],
[self-hosted, linux, ARM64],
[self-hosted, macOS, X64],
]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -102,10 +103,10 @@ jobs:
matrix:
os:
[
[self-hosted, linux, ARM64],
[self-hosted, linux, X64],
[macos-13],
[self-hosted, macOS, ARM64],
[self-hosted, linux, ARM64],
[self-hosted, macOS, X64],
]
example: ${{ fromJSON(needs.generate-examples.outputs.examples) }}
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -135,10 +136,10 @@ jobs:
matrix:
os:
[
[ubuntu-latest],
[macos-13],
[self-hosted, linux, ARM64],
[self-hosted, linux, X64],
[self-hosted, macOS, ARM64],
[self-hosted, Linux, ARM64],
[self-hosted, macOS, X64],
]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -175,10 +176,10 @@ jobs:
matrix:
os:
[
[ubuntu-latest],
[macos-13],
[self-hosted, macOS, ARM64],
[self-hosted, linux, ARM64],
[self-hosted, linux, X64],
[self-hosted, macOS, ARM64],
[self-hosted, macOS, X64],
]
runs-on: ${{ matrix.os }}
steps:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/pin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [[ubuntu-latest], [macos-latest], [self-hosted, macOS], [self-hosted, linux, ARM64]]
os: [
[self-hosted, linux, ARM64],
[self-hosted, linux, X64],
[self-hosted, macOS, ARM64],
[self-hosted, macOS, X64],
]

runs-on: ${{ matrix.os }}

Expand Down

0 comments on commit 4000b01

Please sign in to comment.