From 3be7819fcebec1e9b655e22b16b8d4cc5320fd04 Mon Sep 17 00:00:00 2001 From: Jake Walker Date: Tue, 5 Nov 2024 13:24:38 +0000 Subject: [PATCH] Add build pipeline --- .gitea/workflows/build.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .gitea/workflows/build.yml diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml new file mode 100644 index 0000000..93f0625 --- /dev/null +++ b/.gitea/workflows/build.yml @@ -0,0 +1,34 @@ +name: Build +on: [push, workflow_dispatch] +jobs: + build: + runs-on: ubuntu-latest + container: ghcr.io/qmk/qmk_cli + strategy: + fail-fast: false + matrix: + file: + - lily58 + steps: + - name: Disable git safe directory checks + run: git config --global --add safe.directory "*" + - name: Checkout QMK + uses: actions/checkout@v4 + with: + repository: qmk/qmk_firmware + submodules: recursive + - name: Checkout userspace + uses: actions/checkout@v4 + with: + path: users/${{ gitea.actor }} + - name: Build firmware + run: qmk compile "users/${{ gitea.actor }}/${{ matrix.file }}" + - name: Archive firmware + uses: actions/upload-artifact@v3 + continue-on-error: true + with: + name: ${{ matrix.file }}_${{ github.actor }} + path: | + *.hex + *.bin + *.uf2