qmk-config/.gitea/workflows/build.yml
Jake Walker 3be7819fce
Some checks failed
Build / build (lily58) (push) Failing after 1m14s
Add build pipeline
2024-11-05 13:24:38 +00:00

34 lines
933 B
YAML

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