-
Notifications
You must be signed in to change notification settings - Fork 8
48 lines (39 loc) · 1.07 KB
/
autobuild.yml
File metadata and controls
48 lines (39 loc) · 1.07 KB
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
name: build
on: [push, pull_request]
jobs:
build:
if: github.repository == 'pcercuei/bloom'
runs-on: ubuntu-latest
container: pcercuei/dreamcast-toolchain:stable
steps:
- uses: actions/checkout@v4
with:
path: bloom
- uses: actions/checkout@v4
with:
repository: KallistiOS/KallistiOS
path: kos
- uses: actions/checkout@v4
with:
repository: KallistiOS/kos-ports
path: kos-ports
- name: install-dependencies
run: |
apk --update add --no-cache coreutils
- name: build KallistiOS
run: |
cp kos/doc/environ.sh.sample kos/environ.sh
sed -i 's/KOS_BASE=.*$/KOS_BASE=$GITHUB_WORKSPACE/kos/' kos/environ.sh
. kos/environ.sh
make -C kos
- name: build KallistiOS ports
continue-on-error: true
run: |
make -C kos-ports/libparallax install
make -C kos-ports/libsmb2 install
- name: build Bloom
run: |
mkdir bloom/build
cd bloom/build
kos-cmake -DCMAKE_BUILD_TYPE=Release ..
make