PorygonLang/.drone.yml

18 lines
758 B
YAML

kind: pipeline
name: default
steps:
- name: test-debug-linux
image: dockcross/linux-armv7
commands:
- cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_MAKE_PROGRAM=/usr/bin/make -DCMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_CXX_COMPILER=/usr/bin/gcc -G "CodeBlocks - Unix Makefiles" .
- cmake --build cmake-build-debug --target all -- -j 4
- cmake-build-debug/PorygonLangTests -s
- name: test-release-linux
image: dockcross/linux-armv7
commands:
- cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_MAKE_PROGRAM=/usr/bin/make -DCMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_CXX_COMPILER=/usr/bin/gcc -G "CodeBlocks - Unix Makefiles" .
- cmake --build cmake-build-release --target all -- -j 4
- cmake-build-release/PorygonLangTests -s