lox/.gitea/workflows/build.yaml
adnangonzaga 24d6fe56bc
Some checks are pending
build / test (push) Waiting to run
[CICD] - Updating build to execute nix inside container
2024-11-23 23:44:33 +00:00

17 lines
409 B
YAML

name: build
on:
push:
jobs:
test:
runs-on: nix-runner
steps:
# optional: Push the results to a cache
- uses: https://github.com/cachix/cachix-action@v12
with:
name: local-cache
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- uses: actions/checkout@v3
- run: docker run -v $PWD:/src nix-runner 'nix shell --run "cd src/clox && make"'