-
Notifications
You must be signed in to change notification settings - Fork 505
66 lines (64 loc) · 1.69 KB
/
main.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
name: "Build & Test"
on: [push, pull_request]
jobs:
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@main
- name: test_win
run: |
cd tests
test_win.cmd
shell: cmd
mac:
runs-on: macos-latest
steps:
- uses: actions/checkout@main
- uses: seanmiddleditch/gha-setup-ninja@master
- name: test_macos
run: |
cd tests
./test_macos.sh
ios:
runs-on: macos-latest
steps:
- uses: actions/checkout@main
- name: test_ios
run: |
cd tests
./test_ios.sh
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: seanmiddleditch/gha-setup-ninja@master
- name: prepare
run: |
sudo apt-get update
sudo apt-get install libgl1-mesa-dev libegl1-mesa-dev mesa-common-dev xorg-dev libasound-dev
- name: test_linux
run: |
cd tests
./test_linux.sh
emscripten:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: seanmiddleditch/gha-setup-ninja@master
- name: test_emscripten
run: |
cd tests
./test_emscripten.sh
android:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: seanmiddleditch/gha-setup-ninja@master
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '8'
- name: test_android
run: |
cd tests
./test_android.sh