Add build pipeline
Some checks failed
Build / build (lily58) (push) Failing after 1m14s
Some checks failed
Build / build (lily58) (push) Failing after 1m14s
This commit is contained in:
parent
b81cba4e9e
commit
3be7819fce
1 changed files with 34 additions and 0 deletions
34
.gitea/workflows/build.yml
Normal file
34
.gitea/workflows/build.yml
Normal file
|
@ -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
|
Loading…
Reference in a new issue