Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add CI with github actions
  • Loading branch information
domenkozar committed Mar 13, 2020
1 parent d048577 commit 1ef0209
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .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 systems '[ builtins.currentSystem ]' -A build -A binaryTarball -A coverage -A perlBindings -A tarball -A installerScript
2 changes: 1 addition & 1 deletion release.nix
Expand Up @@ -348,7 +348,7 @@ let
substitute ${./scripts/install.in} $out/install \
${pkgs.lib.concatMapStrings
(system: "--replace '@binaryTarball_${system}@' $(nix --experimental-features nix-command hash-file --base16 --type sha256 ${binaryTarball.${system}}/*.tar.xz) ")
[ "x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-linux" ]
systems
} \
--replace '@nixVersion@' ${build.x86_64-linux.src.version}
Expand Down

0 comments on commit 1ef0209

Please sign in to comment.