-
Notifications
You must be signed in to change notification settings - Fork 46
89 lines (73 loc) · 2.42 KB
/
ci.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
80
81
82
83
84
85
86
87
88
name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
defaults:
run:
shell: bash
# some jobs are currently running multiple config builds on the same worktree.
# it might be better to issue these as separate jobs or as a config matrix.
# debug builds are currently not built to keep the turnaround time on PRs shorter.
jobs:
build_linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: make -j4 config=tool
- run: git clean -f && make -j4 config=player
build_linux_jit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: make -j4 config=player WANT_JIT=1
build_linux_luasocket:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: make -j4 config=player WANT_LUASOCKET=1
build_linux_armv7_neon:
runs-on: ubuntu-latest
container: dockcross/linux-armv7
steps:
- uses: actions/checkout@v2
- run: make -j4 platform=unix-armv7-neon-hardfloat config=player
# build_linux_armv7_neon_jit:
# runs-on: ubuntu-latest
# container: dockcross/linux-armv7
# steps:
# - uses: actions/checkout@v2
# - run: make WANT_JIT=1 platform=unix-armv7-neon-hardfloat -j4
build_osx:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- run: make -j4 platform=osx config=tool
- run: git clean -f && make -j4 platform=osx config=player
build_osx_jit:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- run: make -j4 platform=osx config=player WANT_JIT=1 MACOSX_DEPLOYMENT_TARGET=12.6
build_osx_luasocket:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- run: make -j4 platform=osx config=player WANT_LUASOCKET=1
build_windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- run: CC=gcc make -j4 platform=win config=tool
- run: git clean -f && CC=gcc make -j4 platform=win config=player
build_windows_jit:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- run: CC=gcc make -j4 platform=win config=player WANT_JIT=1
build_windows_luasocket:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- run: CC=gcc make -j4 platform=win config=player WANT_LUASOCKET=1