mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-04-25 19:08:39 +03:00
ci: only test pkgs on Linux
This commit is contained in:
27
.github/workflows/test.yml
vendored
27
.github/workflows/test.yml
vendored
@ -484,7 +484,7 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
pkg: ["wuffs"]
|
pkg: ["wuffs"]
|
||||||
name: Run pkg/${{ matrix.pkg }} tests on Linux
|
name: Test pkg/${{ matrix.pkg }}
|
||||||
runs-on: namespace-profile-ghostty-sm
|
runs-on: namespace-profile-ghostty-sm
|
||||||
needs: test
|
needs: test
|
||||||
env:
|
env:
|
||||||
@ -513,28 +513,3 @@ jobs:
|
|||||||
- name: Test ${{ matrix.pkg }} Build
|
- name: Test ${{ matrix.pkg }} Build
|
||||||
run: |
|
run: |
|
||||||
nix develop -c sh -c "cd pkg/${{ matrix.pkg }} ; zig build test"
|
nix develop -c sh -c "cd pkg/${{ matrix.pkg }} ; zig build test"
|
||||||
|
|
||||||
test-pkg-macos:
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
pkg: ["wuffs"]
|
|
||||||
name: Run pkg/${{ matrix.pkg }} tests on macOS
|
|
||||||
runs-on: namespace-profile-ghostty-macos
|
|
||||||
needs: test
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
# Install Nix and use that to run our tests so our environment matches exactly.
|
|
||||||
- uses: cachix/install-nix-action@v30
|
|
||||||
with:
|
|
||||||
nix_path: nixpkgs=channel:nixos-unstable
|
|
||||||
- uses: cachix/cachix-action@v15
|
|
||||||
with:
|
|
||||||
name: ghostty
|
|
||||||
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
|
|
||||||
|
|
||||||
- name: Test ${{ matrix.pkg }} Build
|
|
||||||
run: |
|
|
||||||
nix develop -c sh -c "cd pkg/${{ matrix.pkg }} ; zig build test"
|
|
||||||
|
Reference in New Issue
Block a user