-
Notifications
You must be signed in to change notification settings - Fork 388
62 lines (59 loc) · 1.49 KB
/
make.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
name: Build and Run Tests
on:
pull_request:
branches: [ "master" ]
push:
branches: [ "master" ]
jobs:
# Build waterbox and cores
build-waterbox:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Installing clang 18
run: wget https://apt.llvm.org/llvm.sh;
chmod u+x llvm.sh;
sudo ./llvm.sh 18;
clang-18 --version;
- name: Getting musl
run: git submodule init waterbox/musl;
git submodule update waterbox/musl
- name: Building musl
working-directory: ./waterbox/musl
env:
CC: clang-18
CXX: clang++-18
run: ./wbox_configure.sh;
./wbox_build.sh;
- name: Building emulibc
working-directory: ./waterbox/emulibc
env:
CC: clang-18
CXX: clang++-18
run: make
- name: Building libco
working-directory: ./waterbox/libco
env:
CC: clang-18
CXX: clang++-18
run: make
- name: Building libcxx
working-directory: ./waterbox/libcxx
env:
CC: clang-18
CXX: clang++-18
run: ./do-everything.sh
- name: Building nyma
working-directory: ./waterbox/nyma
env:
CC: clang-18
CXX: clang++-18
run: ./build-and-install-zlib.sh
- name: Building all waterboxed cores
working-directory: ./waterbox
env:
CC: clang-18
CXX: clang++-18
run: INCLUDE_MAME=1 ./make-all-cores.sh