commit 06f91bf67eb31c217e9c1c3702015983be21aa4c parent e2cc0101af3a45d3d1bfe71e3edb821be3868ac4 Author: zimbatm <zimbatm@zimbatm.com> Date: Tue, 28 Apr 2020 12:52:23 +0200 add Github Action to run the tests CircleCI doesn't seem to be running on the repository. This also makes it easy for people who fork the repo to run the CI since it is enabled by default on all the repositories. 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 +