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