Skip to content
Merged
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
25 changes: 22 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
os: [namespace-profile-mitchellh-sm]

target: [
aarch64-linux-gnu,
Expand All @@ -23,10 +23,20 @@ jobs:
]
runs-on: ${{ matrix.os }}
needs: [test-x86_64-linux, test-x86_64-windows]
env:
ZIG_LOCAL_CACHE_DIR: /zig/local-cache
ZIG_GLOBAL_CACHE_DIR: /zig/global-cache
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Cache
uses: namespacelabs/[email protected]
with:
path: |
/nix
/zig

# Install Nix and use that to run our tests so our environment matches exactly.
- uses: cachix/install-nix-action@v31
with:
Expand All @@ -43,13 +53,22 @@ jobs:
test-x86_64-linux:
strategy:
matrix:
os: [ubuntu-latest]
os: [namespace-profile-mitchellh-sm]
runs-on: ${{ matrix.os }}
env:
ZIG_LOCAL_CACHE_DIR: /zig/local-cache
ZIG_GLOBAL_CACHE_DIR: /zig/global-cache
steps:
- name: Checkout code
uses: actions/checkout@v4

# Install Nix and use that to run our tests so our environment matches exactly.
- name: Setup Cache
uses: namespacelabs/[email protected]
with:
path: |
/nix
/zig

- uses: cachix/install-nix-action@v31
with:
nix_path: nixpkgs=channel:nixos-unstable
Expand Down