-
Notifications
You must be signed in to change notification settings - Fork 271
79 lines (72 loc) · 2.06 KB
/
macos.yml
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
name: macOS Build Environment
on: [push, pull_request]
env:
PIPENV_ACTIVE: 1
jobs:
firmware:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: brew bundle
- name: Install kll compiler
run: |
python3 -m pip install --upgrade pip
python3 -m pip install kll
- name: Build
working-directory: Keyboards
run: ./ic_keyboards.bash
firmware-test:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: brew bundle
- name: Install kll compiler
run: |
python3 -m pip install --upgrade pip
python3 -m pip install kll
- name: Test
working-directory: Keyboards
# AddressSanitizer doesn't seem to work in macOS CI environments for some reason
run: EnableHostOnlyBuild=true HostTest=kll.py DisableSanitizer=true ./ic_keyboards.bash
other-firmware:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: brew bundle
- name: Install kll compiler
run: |
python3 -m pip install --upgrade pip
python3 -m pip install kll
- name: Build
working-directory: Keyboards/Others
run: ./others.bash
test-builds:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: brew bundle
- name: Install kll compiler
run: |
python3 -m pip install --upgrade pip
python3 -m pip install kll
- name: Build
working-directory: Keyboards/Testing
# AddressSanitizer doesn't seem to work in macOS CI environments for some reason
run: DisableSanitizer=true ./all_tests.bash
bootloaders:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: brew bundle
- name: Install kll compiler
run: |
python3 -m pip install --upgrade pip
python3 -m pip install kll
- name: Build
working-directory: Bootloader/Builds
run: ./all.bash