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

46 lines
1.2 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
2023-03-02 09:08:58 +00:00
- uses: cachix/install-nix-action@v20
2022-08-05 20:42:50 +00:00
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
2023-02-15 14:05:15 +00:00
- uses: cachix/cachix-action@v12
2022-08-05 20:42:50 +00:00
with:
name: nifoc
2022-08-05 20:49:26 +00:00
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
2023-02-15 14:00:38 +00:00
- run: nix build '.#anonymous-overflow'
2022-11-23 21:56:52 +00:00
- run: nix build '.#fennel-ls'
2022-08-13 19:59:51 +00:00
- run: nix build '.#luarocks-jsregexp'
2023-02-14 09:31:07 +00:00
- run: nix build '.#nitter-unstable'
2022-08-05 20:42:50 +00:00
- run: nix build '.#q'
2023-03-05 14:57:52 +00:00
- run: nix build '.#rimgo'
2022-12-01 09:06:50 +00:00
- run: nix build '.#website-docs-nifoc-pw'
2022-08-05 20:42:50 +00:00
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
2023-03-04 16:51:06 +00:00
- uses: cachix/install-nix-action@v20
2022-08-05 20:38:23 +00:00
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
2023-02-15 14:05:15 +00:00
- uses: cachix/cachix-action@v12
2022-08-05 20:38:23 +00:00
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-11-23 21:56:52 +00:00
- run: nix build '.#fennel-ls'
2022-08-13 19:59:51 +00:00
- run: nix build '.#luarocks-jsregexp'
2022-08-05 20:42:50 +00:00
- run: nix build '.#phantomjs'
2022-08-05 20:38:23 +00:00
- run: nix build '.#q'