1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-08 02:43:54 +02:00

Add CI with github actions

This commit is contained in:
Domen Kožar 2020-03-13 11:57:58 +01:00
parent 9c7e90f414
commit 30962d21be
No known key found for this signature in database
GPG key ID: C2FFBCAFD2C24246
2 changed files with 16 additions and 2 deletions

14
.github/workflows/test.yml vendored Normal file
View file

@ -0,0 +1,14 @@
name: "Test"
on:
pull_request:
push:
jobs:
tests:
strategy:
matrix:
os: [ubuntu-18.04, macos]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v8
- run: nix-build release.nix --arg nix '{ outPath = ./.; revCount = 123; shortRev = "abcdefgh"; }' --arg systems '[ builtins.currentSystem ]' -A build -A binaryTarball -A perlBindings -A installerScript