From 3a60ed192d34053755d952deb18c888977346cae Mon Sep 17 00:00:00 2001 From: Andrea Ciceri Date: Sun, 12 Feb 2023 16:57:21 +0100 Subject: [PATCH] [CI] Build Emacsen --- .github/workflows/build.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/build.yaml diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..4f42b66 --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,27 @@ +name: build +on: + workflow_dispatch: # allows manual triggering + push: + branches: + - master + - update_flake_lock_action + +jobs: + build-thinkpad: + if: ${{ always() }} + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - uses: cachix/install-nix-action@v19 + with: + extra_nix_config: | + accept-flake-config = true + + - uses: cachix/cachix-action@v12 + with: + name: aciceri-emacs + authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' + + - run: nix --print-build-logs --verbose build