From 0ef24f3c75fb8ba5bca760210a9e43dd896268db Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 2 Jan 2025 15:08:29 -0800 Subject: [PATCH] ci: only test pkgs on Linux --- .github/workflows/test.yml | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4f07faf2f..497051c28 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -484,7 +484,7 @@ jobs: fail-fast: false matrix: pkg: ["wuffs"] - name: Run pkg/${{ matrix.pkg }} tests on Linux + name: Test pkg/${{ matrix.pkg }} runs-on: namespace-profile-ghostty-sm needs: test env: @@ -513,28 +513,3 @@ jobs: - name: Test ${{ matrix.pkg }} Build run: | 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"