1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-11-25 09:44:02 +00:00

Cirrus CI: Simplify CMake invocation

Many thanks to Jan Beich for the tip  :)
This commit is contained in:
Nicolas Braud-Santoni 2020-07-13 21:48:19 +02:00
parent 91a45a4392
commit db06ace353

View file

@ -6,10 +6,8 @@ FreeBSD_task:
- pkg install -y cmake gmake openal-soft png sdl2
script:
- mkdir build
- cd build
- cmake .. -DAQUARIA_INTERNAL_PNG=OFF -DAQUARIA_USE_SDL2=ON
- make -j2
- cmake -B build/ -DAQUARIA_INTERNAL_PNG=OFF -DAQUARIA_USE_SDL2=ON
- cmake --build build/
Linux_task:
container:
@ -20,10 +18,8 @@ Linux_task:
- apt install -y -q build-essential cmake libsdl2-dev libopenal-dev clang
script:
- mkdir build
- cd build
- cmake .. -DAQUARIA_USE_SDL2=ON
- make -j2
- cmake -B build/ -DAQUARIA_USE_SDL2=ON
- cmake --build build/
env:
CC: clang
@ -41,10 +37,8 @@ macOS_task:
- brew info cmake llvm make openal-soft sdl2
script:
- mkdir build
- cd build
- cmake .. -DAQUARIA_USE_SDL2=ON
- make -j2
- cmake -B build/ -DAQUARIA_USE_SDL2=ON
- cmake --build build/
env:
CC: clang