mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
ci: test self-hosted x86 runners
This commit is contained in:
2
.github/workflows/nix.yml
vendored
2
.github/workflows/nix.yml
vendored
@ -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
|
||||||
|
12
.github/workflows/test.yml
vendored
12
.github/workflows/test.yml
vendored
@ -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
|
||||||
|
Reference in New Issue
Block a user