-
Notifications
You must be signed in to change notification settings - Fork 9
39 lines (33 loc) · 882 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
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.1.6
with:
# intentionally don't set it to "recursive" as zsa's submodules are
# managed via their Makefile.
submodules: true
- uses: actions/setup-python@v5.1.0
with:
python-version: "3.11.x"
cache: pip
cache-dependency-path: .github/requirements.txt
- name: install CI python deps
run: pip install -r .github/requirements.txt
- name: build keymap
run: make build
- uses: actions/upload-artifact@v4.3.3
with:
name: moonlander_mcoding.bin
path: zsa_firmware/.build/moonlander_mcoding.bin
retention-days: 3