2019-06-06 16:02:46 +00:00
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: test-debug-linux
|
2019-06-06 17:24:27 +00:00
|
|
|
image: dockcross/linux-x64
|
2019-06-06 16:02:46 +00:00
|
|
|
commands:
|
2019-06-06 17:16:30 +00:00
|
|
|
- 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
|
2019-06-06 16:58:51 +00:00
|
|
|
- cmake --build build-debug --target all -- -j 4
|
2019-06-06 17:07:28 +00:00
|
|
|
- build-debug/PorygonLangTests -s
|
2019-06-06 16:02:46 +00:00
|
|
|
|
|
|
|
- name: test-release-linux
|
2019-06-06 17:24:27 +00:00
|
|
|
image: dockcross/linux-x64
|
2019-06-06 16:02:46 +00:00
|
|
|
commands:
|
2019-06-06 17:16:30 +00:00
|
|
|
- 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
|
2019-06-06 16:58:51 +00:00
|
|
|
- cmake --build build-release --target all -- -j 4
|
2019-06-06 17:07:28 +00:00
|
|
|
- build-release/PorygonLangTests -s
|
2019-06-06 17:24:27 +00:00
|
|
|
|
|
|
|
- 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
|