Add macOS to AppVeyor

This commit is contained in:
Florian Märkl 2020-12-27 16:43:06 +01:00
commit db5b3a1499
No known key found for this signature in database
GPG key ID: 125BC8A5A6A1E857
3 changed files with 48 additions and 21 deletions

14
scripts/build-common.sh Executable file
View file

@ -0,0 +1,14 @@
#!/bin/bash
mkdir build && cd build || exit 1
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH \
-DCHIAKI_ENABLE_TESTS=ON \
-DCHIAKI_ENABLE_CLI=OFF \
-DCHIAKI_GUI_ENABLE_SDL_GAMECONTROLLER=ON \
$CMAKE_EXTRA_ARGS \
.. || exit 1
make -j4 || exit 1
test/chiaki-unit || exit 1