2024-08-14 09:18:07 +00:00
|
|
|
name: Build npc tests
|
2024-08-14 09:01:37 +00:00
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
2024-08-14 09:18:07 +00:00
|
|
|
npc-build:
|
2024-08-14 09:01:37 +00:00
|
|
|
strategy:
|
|
|
|
matrix:
|
2024-09-06 06:56:10 +00:00
|
|
|
package: [ "flow", "flow-simlib" ]
|
2024-08-14 09:01:37 +00:00
|
|
|
runs-on: nix
|
2024-08-14 09:18:07 +00:00
|
|
|
defaults:
|
|
|
|
run:
|
|
|
|
working-directory: ./npc
|
2024-08-14 09:01:37 +00:00
|
|
|
steps:
|
|
|
|
- uses: https://github.com/cachix/cachix-action@v14
|
|
|
|
with:
|
|
|
|
name: ysyx
|
|
|
|
authToken: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Build package
|
|
|
|
run: |
|
|
|
|
nix build -L .#${{ matrix.package }}
|