-
Notifications
You must be signed in to change notification settings - Fork 193
43 lines (39 loc) · 1011 Bytes
/
build.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
name: Build Zebra
on:
push:
pull_request:
jobs:
build:
strategy:
matrix:
include:
- rootless: 0
name: 'rootful'
- rootless: 1
name: 'rootless'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.rootless }}
cancel-in-progress: true
name: Build (${{ matrix.name }})
runs-on: macos-12
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install dependencies
run: brew install ldid make
- name: Set up Theos
uses: actions/checkout@v3
with:
repository: theos/theos
path: theos
submodules: recursive
- name: Compile
env:
THEOS: theos
run: |
if [[ ${{ matrix.rootless }} == 0 ]]; then
sudo xcode-select -switch /Applications/Xcode_13.4.1.app
fi
gmake package ROOTLESS=${{ matrix.rootless }}