ysyx-workbench/.gitea/workflows/build-npc.yml

22 lines
483 B
YAML
Raw Permalink Normal View History

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:
package: [ "flow", "flow-simlib"]
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 }}