-
Notifications
You must be signed in to change notification settings - Fork 0
23 lines (23 loc) · 745 Bytes
/
Copy pathtest.yml
File metadata and controls
23 lines (23 loc) · 745 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name: "Build and Test"
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v25
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v10
with:
name: github-public
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: >
git config --global url."https://github.com/".insteadOf ssh://git@github.com/
- run: export NIXPKGS_ALLOW_UNFREE=1 && nix-build -E 'with (import (fetchTarball "https://github.com/goromal/anixpkgs/archive/refs/tags/v0.5.0.tar.gz") {}); signals-cpp.override { pkg-src = lib.cleanSource ./.; }'