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:
parent
91a45a4392
commit
db06ace353
1 changed files with 6 additions and 12 deletions
18
.cirrus.yml
18
.cirrus.yml
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue