From 77ec527f311091847b800fee01fd050953a65185 Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 6 Nov 2024 19:16:23 +0100 Subject: initial commit --- .github/workflows/ci.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/ci.yml (limited to '.github/workflows/ci.yml') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..e0e90f4 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,26 @@ +name: CI + +on: + pull_request: + push: + branches: + - main + workflow_dispatch: + +jobs: + build: + name: Build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: DeterminateSystems/nix-installer-action@v11 + + - run: nix -vL --show-trace flake check + + - run: nix -vL --show-trace build + + - uses: actions/upload-artifact@v4 + with: + name: zmk_firmware + path: result -- cgit v1.2.3