-
Notifications
You must be signed in to change notification settings - Fork 9
40 lines (33 loc) · 883 Bytes
/
main.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Build
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: Build
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4.2.2
with:
# intentionally don't set it to "recursive" as zsa's submodules are
# managed via their Makefile.
submodules: true
- name: Install uv
uses: astral-sh/setup-uv@v5.3.1
- uses: actions/setup-python@v5.4.0
with:
python-version: "3.11.x"
- name: install CI python deps
run: uv pip sync --system .github/requirements.txt
- name: build keymap
run: make build
- uses: actions/upload-artifact@v4.6.1
with:
name: zsa_moonlander_mcoding.bin
path: zsa_firmware/.build/zsa_moonlander_mcoding.bin
retention-days: 3