29
29
target : template_release
30
30
platform : linux
31
31
arch : x86_64
32
+ precision : double
32
33
# - identifier: windows-debug
33
34
# name: 🪟 Windows (Debug)
34
35
# build_type: Debug
43
44
target : template_release
44
45
platform : windows
45
46
arch : x86_64
47
+ precision : double
46
48
# - identifier: macos-debug
47
49
# name: 🍎 MacOS (Debug)
48
50
# build_type: Debug
@@ -55,18 +57,21 @@ jobs:
55
57
runner : macos-latest
56
58
target : template_release
57
59
platform : macos
60
+ precision : double
58
61
- identifier : android-arm64
59
62
name : 🤖 Android Arm64
60
63
build_type : Release
61
64
runner : ubuntu-20.04
62
65
platform : android
63
66
arch : arm64-v8a
67
+ precision : double
64
68
- identifier : android-arm32
65
69
name : 🤖 Android Arm32
66
70
build_type : Release
67
71
runner : ubuntu-20.04
68
72
platform : android
69
73
arch : armeabi-v7a
74
+ precision : double
70
75
71
76
runs-on : ${{ matrix.runner }}
72
77
name : ${{ matrix.name }}
@@ -106,21 +111,21 @@ jobs:
106
111
if : startsWith(matrix.identifier, 'linux-') || startsWith(matrix.identifier, 'macos-')
107
112
shell : sh
108
113
run : |
109
- cmake -B ${{ github.workspace }}/.out-${{ matrix.identifier }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache -S ${{ github.workspace }} -G Ninja
114
+ cmake -B ${{ github.workspace }}/.out-${{ matrix.identifier }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache -S ${{ github.workspace }} -G Ninja -DFLOAT_PRECISION=${{ matrix.precision }}
110
115
cmake --build ${{ github.workspace }}/.out-${{ matrix.identifier }} --target orchestrator -j 18
111
116
112
117
- name : Build Orchestrator (Windows)
113
118
if : startsWith(matrix.identifier, 'windows-')
114
119
shell : bash
115
120
run : |
116
- cmake -B '${{ github.workspace }}/.out-${{ matrix.identifier }}' -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER=cl -DCMAKE_C_COMPILER=cl -S '${{ github.workspace }}' -G Ninja
121
+ cmake -B '${{ github.workspace }}/.out-${{ matrix.identifier }}' -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER=cl -DCMAKE_C_COMPILER=cl -S '${{ github.workspace }}' -G Ninja -DFLOAT_PRECISION=${{ matrix.precision }}
117
122
cmake --build '${{ github.workspace }}/.out-${{ matrix.identifier }}' --target orchestrator -j 18
118
123
119
124
- name : Build Orchestrator (Android)
120
125
if : startsWith(matrix.identifier, 'android-')
121
126
shell : sh
122
127
run : |
123
- cmake -B ${{ github.workspace }}/.out-${{ matrix.identifier }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_ANDROID_ARCH_ABI=${{ matrix.arch }} -DANDROID_ABI=${{ matrix.arch }} -DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK/build/cmake/android.toolchain.cmake -DANDROID_TOOLCHAIN_NAME=arm-linux-androideabi-4.9 -DANDROID_PLATFORM=android-23 -DANDROID_TOOLCHAIN=clang -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache -S ${{ github.workspace }}
128
+ cmake -B ${{ github.workspace }}/.out-${{ matrix.identifier }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_ANDROID_ARCH_ABI=${{ matrix.arch }} -DANDROID_ABI=${{ matrix.arch }} -DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK/build/cmake/android.toolchain.cmake -DANDROID_TOOLCHAIN_NAME=arm-linux-androideabi-4.9 -DANDROID_PLATFORM=android-23 -DANDROID_TOOLCHAIN=clang -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache -S ${{ github.workspace }} -DFLOAT_PRECISION=${{ matrix.precision }}
124
129
cmake --build ${{ github.workspace }}/.out-${{ matrix.identifier }} --target orchestrator -j 18
125
130
126
131
- name : Prepare addon files
0 commit comments