-
Notifications
You must be signed in to change notification settings - Fork 15
55 lines (48 loc) · 1.28 KB
/
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
44
45
46
47
48
49
50
51
52
53
54
55
name: Build DontEatMyContent
on:
push:
branches:
- develop
paths-ignore:
- 'README.md'
- 'LICENSE.md'
- '.github/workflows/build.yml'
- '.github/workflows/build-and-release.yml'
- control
workflow_dispatch:
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout DontEatMyContent
uses: actions/[email protected]
with:
submodules: recursive
- name: Checkout Theos
uses: actions/[email protected]
with:
repository: theos/theos
ref: master
path: theos
submodules: recursive
- name: Install dependencies
run: |
brew install ldid
# bash -c "$(curl -fsSL https://raw.githubusercontent.com/roothide/theos/master/bin/install-theos)"
- name: Build
run: |
make package FINALPACKAGE=1
make package FINALPACKAGE=1 THEOS_PACKAGE_SCHEME=rootless
# make package FINALPACKAGE=1 THEOS_PACKAGE_SCHEME=roothide
PACKAGES=$(ls packages/ | grep .deb)
if [ -z "$PACKAGES" ]; then
echo "No packages found."
exit 1
fi
env:
THEOS: ${{ github.workspace }}/theos
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: Packages
path: packages/