-
Notifications
You must be signed in to change notification settings - Fork 7.1k
117 lines (104 loc) · 3.22 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
# This is a basic workflow to help you get started with Actions
name: CI
on:
push:
branches: [ v4, v3 ]
pull_request:
branches: [ v4, v3 ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
ubuntu-18_04:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- run: python download-deps.py --r no
- run: echo -e "y" | bash install-deps-linux.sh
- run: cmake -B b -S .
- run: cmake --build b
ubuntu-20_04:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- run: python download-deps.py --r no
- run: echo -e "y" | bash install-deps-linux.sh
- run: cmake -B b -S .
- run: cmake --build b
windows-2019:
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- run: python download-deps.py --r no
- run: cmake -B b -S . -G "Visual Studio 16 2019" -A Win32
- run: cmake --build b
windows-2022:
runs-on: windows-2022
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- run: python download-deps.py --r no
- run: cmake -B b -S . -G "Visual Studio 17 2022" -A Win32
- run: cmake --build b
macos-10_15:
runs-on: macos-10.15
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- run: python download-deps.py --r no
- run: cmake -B b -S . -GXcode
- run: cmake --build b
macos-11:
runs-on: macos-11
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- run: python download-deps.py --r no
- run: cmake -B b -S . -GXcode
- run: cmake --build b
macos-10_15_ios:
runs-on: macos-10.15
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- run: python download-deps.py --r no
- run: cmake -B b -S . -GXcode -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_SYSROOT=iphonesimulator
- run: cmake --build b --config Release --target cpp-tests -- -quiet
macos-11_ios:
runs-on: macos-11
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- run: python download-deps.py --r no
- run: cmake -B b -S . -GXcode -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_SYSROOT=iphonesimulator
- run: cmake --build b --config Release --target cpp-tests -- -quiet -destination "platform=iOS Simulator,name=iPhone Retina (4-inch)"
windows-2019-android:
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- run: python download-deps.py --r no
- run: ./gradlew assembleRelease -PPROP_BUILD_TYPE=cmake --info
shell: bash
working-directory: tests/cpp-tests/proj.android
ubuntu-20_04-android:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- run: python download-deps.py --r no
- run: ./gradlew assembleRelease -PPROP_BUILD_TYPE=cmake --info
shell: bash
working-directory: tests/cpp-tests/proj.android