aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2020-03-13 11:57:58 +0100
committerDomen Kožar <domen@dev.si>2020-03-13 15:41:16 +0100
commit30962d21beb2133b5d986b8aebfe64408be5e80e (patch)
treedf80e1ac3d06f7cda914f48b26260bc4afe5f054 /.github
parent9c7e90f414067eb59170bde952d5b8ac03c8f46c (diff)
Add CI with github actions
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 000000000..f261cd0bc
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -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