From 83bdf9870a937f9a0011ab828003c0db8e8eb41f Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Fri, 5 Aug 2022 22:42:50 +0200 Subject: [PATCH] Split Linux and macOS builds --- .github/workflows/build.yml | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0bd580d..8b49de8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,11 +5,22 @@ on: branches: ['master'] jobs: - build: - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [macos-latest, ubuntu-latest] + build-x86_64-linux: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: cachix/install-nix-action@v16 + with: + nix_path: nixpkgs=channel:nixpkgs-unstable + - uses: cachix/cachix-action@v10 + with: + name: nifoc + signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' + - run: nix build '.#proximity-sort' + - run: nix build '.#q' + + x86_64-darwin: + runs-on: macos-latest steps: - uses: actions/checkout@v3 - uses: cachix/install-nix-action@v16 @@ -20,5 +31,6 @@ jobs: name: nifoc signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' - run: nix build '.#cliclick' + - run: nix build '.#phantomjs' - run: nix build '.#proximity-sort' - run: nix build '.#q'