diff options
author | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2020-09-21 15:27:38 +0200 |
---|---|---|
committer | sternenseemann <git@lukasepple.de> | 2020-09-21 16:14:15 +0200 |
commit | 28041625ea78873fdb0c7a2b31b8cdb1d130377a (patch) | |
tree | 1454eb523b5b91735de08783319337862c084f94 | |
parent | c4f6d7266137b3aa316ff39a72fbe1fdd99d7374 (diff) |
feat(ci): build on push and pull request using github actions
-rw-r--r-- | .github/workflows/ci.yml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..d0e12b5 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,29 @@ +name: "CI" + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + nix-build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2.3.1 + - uses: cachix/install-nix-action@v10 + - uses: cachix/cachix-action@v6 + with: + name: openlab-aux + signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' + + # TODO: fix default.nix so we can just nix-build default.nix + # nix expression for anzeigetafel + # nixos module test? + + - name: build standard warteraum binary plus tests + run: nix-build -A warteraum + - name: build static warteraum binary plus tests + run: nix-build -A warteraum-static + - name: build bahnhofshalle + run: nix-build -A bahnhofshalle |