aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2024-11-06 19:16:23 +0100
committertv <tv@krebsco.de>2024-11-06 19:16:23 +0100
commit77ec527f311091847b800fee01fd050953a65185 (patch)
treea4633c97ffd55d8b3db7dadfdba2ecb707f65d6c /.github/workflows/ci.yml
initial commit
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml26
1 files changed, 26 insertions, 0 deletions
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