Split Linux and macOS builds
This commit is contained in:
parent
93be2e6e1a
commit
83bdf9870a
1 changed files with 17 additions and 5 deletions
22
.github/workflows/build.yml
vendored
22
.github/workflows/build.yml
vendored
|
@ -5,11 +5,22 @@ on:
|
||||||
branches: ['master']
|
branches: ['master']
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build-x86_64-linux:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
steps:
|
||||||
matrix:
|
- uses: actions/checkout@v3
|
||||||
os: [macos-latest, ubuntu-latest]
|
- 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:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: cachix/install-nix-action@v16
|
- uses: cachix/install-nix-action@v16
|
||||||
|
@ -20,5 +31,6 @@ jobs:
|
||||||
name: nifoc
|
name: nifoc
|
||||||
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
||||||
- run: nix build '.#cliclick'
|
- run: nix build '.#cliclick'
|
||||||
|
- run: nix build '.#phantomjs'
|
||||||
- run: nix build '.#proximity-sort'
|
- run: nix build '.#proximity-sort'
|
||||||
- run: nix build '.#q'
|
- run: nix build '.#q'
|
||||||
|
|
Loading…
Reference in a new issue