PorygonLang/.drone.yml

25 lines
1.1 KiB
YAML

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