ci: test self-hosted x86 runners

This commit is contained in:
Mitchell Hashimoto
2024-02-10 09:29:55 -08:00
parent f7c945c4a7
commit e45b3b4d48
2 changed files with 7 additions and 7 deletions

View File

@ -2,7 +2,7 @@ on: [push, pull_request]
name: Nix name: Nix
jobs: jobs:
check-zig-cache-hash: check-zig-cache-hash:
runs-on: ubuntu-latest runs-on: ghcr.io/cirruslabs/ubuntu-runner-amd64:22.04-sm
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4

View File

@ -5,7 +5,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ubuntu-latest] os: ["ghcr.io/cirruslabs/ubuntu-runner-amd64:22.04-md"]
target: [ target: [
aarch64-linux, aarch64-linux,
@ -41,7 +41,7 @@ jobs:
run: nix develop -c zig build -Dstatic=true -Dapp-runtime=glfw -Dtarget=${{ matrix.target }} run: nix develop -c zig build -Dstatic=true -Dapp-runtime=glfw -Dtarget=${{ matrix.target }}
build-linux-libghostty: build-linux-libghostty:
runs-on: ubuntu-latest runs-on: ghcr.io/cirruslabs/ubuntu-runner-amd64:22.04-md
needs: test needs: test
steps: steps:
- name: Checkout code - name: Checkout code
@ -60,7 +60,7 @@ jobs:
run: nix develop -c zig build -Dapp-runtime=none run: nix develop -c zig build -Dapp-runtime=none
build-nix: build-nix:
runs-on: ubuntu-latest runs-on: ghcr.io/cirruslabs/ubuntu-runner-amd64:22.04-md
needs: test needs: test
steps: steps:
- name: Checkout code - name: Checkout code
@ -183,7 +183,7 @@ jobs:
run: Get-Content -Path ".\build.log" run: Get-Content -Path ".\build.log"
test: test:
runs-on: ubuntu-latest runs-on: ghcr.io/cirruslabs/ubuntu-runner-amd64:22.04-md
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -210,7 +210,7 @@ jobs:
run: nix develop -c zig build -Dstatic=false run: nix develop -c zig build -Dstatic=false
prettier: prettier:
runs-on: ubuntu-latest runs-on: ghcr.io/cirruslabs/ubuntu-runner-amd64:22.04-sm
steps: steps:
- uses: actions/checkout@v4 # Check out repo so we can lint it - uses: actions/checkout@v4 # Check out repo so we can lint it
- uses: cachix/install-nix-action@v24 - uses: cachix/install-nix-action@v24
@ -224,7 +224,7 @@ jobs:
run: nix develop -c prettier --check . run: nix develop -c prettier --check .
alejandra: alejandra:
runs-on: ubuntu-latest runs-on: ghcr.io/cirruslabs/ubuntu-runner-amd64:22.04-sm
steps: steps:
- uses: actions/checkout@v4 # Check out repo so we can lint it - uses: actions/checkout@v4 # Check out repo so we can lint it
- uses: cachix/install-nix-action@v24 - uses: cachix/install-nix-action@v24