mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-03 14:40:02 +00:00
139c5aac49
New cmake flag -DENABLE_UI=OFF can be used to turn off the GUI and compile a CLI-only version of Aseprite. Requested here too: https://community.aseprite.org/t/1351
27 lines
463 B
YAML
27 lines
463 B
YAML
language: cpp
|
|
dist: trusty
|
|
|
|
compiler:
|
|
- clang
|
|
- gcc
|
|
|
|
env:
|
|
matrix:
|
|
- ENABLE_UI=OFF
|
|
- ENABLE_UI=ON
|
|
|
|
before_install:
|
|
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
|
- sudo apt-get update -qq
|
|
- sudo apt-get install -y -qq g++-4.8
|
|
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8"; fi
|
|
|
|
before_script:
|
|
- mkdir build
|
|
- cd build
|
|
- cmake .. -DENABLE_TESTS=ON -DENABLE_UI=$ENABLE_UI
|
|
|
|
script:
|
|
- "make"
|
|
- "ctest --output-on-failure"
|