-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.tinyci
46 lines (39 loc) · 1.28 KB
/
.tinyci
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
[tinyci]
enabled = True
[build-native]
directory = _build_native
commands =
cmake ../template/ -G Ninja -DCMAKE_MODULE_PATH=../cmake/
cmake --build .
[build-native-debug]
directory = _build_native_debug
commands =
cmake ../template/ -G Ninja -DCMAKE_MODULE_PATH=../cmake/ -DCMAKE_BUILD_TYPE=Debug
cmake --build .
[build-win32]
directory = _build_win32
commands =
cmake ../template/ -G Ninja -DCMAKE_MODULE_PATH=../cmake/ -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchains/mingw.win32.toolchain
cmake --build .
[build-win64]
directory = _build_win64
commands =
cmake ../template/ -G Ninja -DCMAKE_MODULE_PATH=../cmake/ -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchains/mingw.win64.toolchain
cmake --build .
#[build-pi]
#directory = _build_pi
#commands =
# cmake ../template/ -G Ninja -DCMAKE_MODULE_PATH=../cmake/ -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchains/pi.toolchain
# cmake --build .
[build-android]
directory = _build_android
commands =
cmake ../template/ -G Ninja -DCMAKE_MODULE_PATH=../cmake/ -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchains/android.toolchain
cmake --build .
[build-unittests]
directory = _build_unittests
commands =
cmake ../tests/ -G Ninja -DCMAKE_MODULE_PATH=../cmake/
cmake --build .
ln -sf ../tests/resources resources
./UnitTests