commit 7f934a88ce5103fb28d608a25a40ea42048f9f2b parent 3df3a471aee506cb50212488f6b9391444764110 Author: Guillaume Bouchard <guillaum.bouchard@gmail.com> Date: Tue, 28 Apr 2020 13:55:15 +0200 Merge pull request #41 from zimbatm/github-actions add Github Action to run the tests Diffstat:
| D | .circleci/config.yml | | | 18 | ------------------ |
| A | .github/workflows/test.yml | | | 13 | +++++++++++++ |
2 files changed, 13 insertions(+), 18 deletions(-)
diff --git a/.circleci/config.yml b/.circleci/config.yml @@ -1,18 +0,0 @@ -version: 2 - -jobs: - nix: - docker: - - image: nixos/nix:latest - working_directory: ~/NixGL - steps: - - checkout - - run: - name: Build all wrapper (with default version for nvidia) - command: nix-build ./all.nix - -workflows: - version: 2 - nix_stack: - jobs: - - nix diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml @@ -0,0 +1,13 @@ +name: 'Test' + +on: [ push, pull_request ] + +jobs: + test: + name: 'Test' + runs-on: ubuntu-18.04 + steps: + - uses: actions/checkout@v2 + - uses: cachix/install-nix-action@v8 + - run: nix-build all.nix +