From 6520c5436057b3ccaae9a6176ad7c668419638f5 Mon Sep 17 00:00:00 2001 From: Tom Sydney Kerckhove Date: Thu, 26 May 2022 12:08:09 +0200 Subject: [PATCH] trying to set up CI --- .github/FUNDING.yml | 2 ++ .github/workflows/nix-build.yml | 44 +++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 .github/FUNDING.yml create mode 100644 .github/workflows/nix-build.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..576d2ef --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,2 @@ +custom: https://cs-syd.eu/support +github: [NorfairKing] diff --git a/.github/workflows/nix-build.yml b/.github/workflows/nix-build.yml new file mode 100644 index 0000000..57a07b0 --- /dev/null +++ b/.github/workflows/nix-build.yml @@ -0,0 +1,44 @@ +name: "Nix Build" +on: + pull_request: + push: + branches: + - development + - master +jobs: + hooks: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3.0.2 + - uses: cachix/install-nix-action@v17 + - uses: cachix/cachix-action@v10 + with: + name: feedback + extraPullNames: validity,sydtest,autodocodec + signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' + - run: nix-build ci.nix -A pre-commit-check + + shell: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3.0.2 + - uses: cachix/install-nix-action@v17 + - uses: cachix/cachix-action@v10 + with: + name: feedback + extraPullNames: validity,sydtest,autodocodec + signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' + - run: nix-build ci.nix -A shell + + tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3.0.2 + - uses: cachix/install-nix-action@v17 + - uses: cachix/cachix-action@v10 + with: + name: feedback + extraPullNames: validity,sydtest,autodocodec + signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' + - run: nix-build ci.nix -A release +