1
0
Fork 0
nix-overlay/.github/workflows/build.yml

42 lines
1 KiB
YAML
Raw Normal View History

2022-08-05 20:38:23 +00:00
name: Build
on:
push:
branches: ['master']
2022-08-06 08:51:05 +00:00
schedule:
- cron: '10 8 * * *'
workflow_dispatch:
2022-08-05 20:38:23 +00:00
jobs:
2022-08-05 20:42:50 +00:00
build-x86_64-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
2022-08-05 21:06:34 +00:00
- uses: cachix/install-nix-action@v17
2022-08-05 20:42:50 +00:00
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- uses: cachix/cachix-action@v10
with:
name: nifoc
2022-08-05 20:49:26 +00:00
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
2022-08-06 15:26:50 +00:00
- run: nix build '.#fennel-luajit'
2022-08-05 20:42:50 +00:00
- run: nix build '.#proximity-sort'
- run: nix build '.#q'
2022-08-05 20:44:34 +00:00
build-x86_64-darwin:
2022-08-05 20:42:50 +00:00
runs-on: macos-latest
2022-08-05 20:38:23 +00:00
steps:
- uses: actions/checkout@v3
2022-08-05 21:06:34 +00:00
- uses: cachix/install-nix-action@v17
2022-08-05 20:38:23 +00:00
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- uses: cachix/cachix-action@v10
with:
name: nifoc
2022-08-05 20:49:26 +00:00
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
2022-08-05 20:38:23 +00:00
- run: nix build '.#cliclick'
2022-08-06 15:26:50 +00:00
- run: nix build '.#fennel-luajit'
2022-08-05 20:42:50 +00:00
- run: nix build '.#phantomjs'
2022-08-05 20:38:23 +00:00
- run: nix build '.#proximity-sort'
- run: nix build '.#q'