PorygonLang/.drone.yml

31 lines
1.5 KiB
YAML
Raw Normal View History

2019-06-06 16:02:46 +00:00
kind: pipeline
name: default
steps:
- name: test-debug-linux
2019-07-25 17:16:39 +00:00
image: deukhoofd/linux64builder
2019-06-06 16:02:46 +00:00
commands:
- cmake -DCMAKE_BUILD_TYPE=Debug . -B build-debug
2019-06-06 16:58:51 +00:00
- cmake --build build-debug --target all -- -j 4
2019-06-25 13:38:55 +00:00
- build-debug/PorygonLangTests -s --durations yes --use-colour yes
2019-06-06 16:02:46 +00:00
- name: test-release-linux
2019-07-25 17:16:39 +00:00
image: deukhoofd/linux64builder
2019-06-06 16:02:46 +00:00
commands:
- cmake -DCMAKE_BUILD_TYPE=Release . -B build-release
2019-06-06 16:58:51 +00:00
- cmake --build build-release --target all -- -j 4
2019-06-25 13:38:55 +00:00
- build-release/PorygonLangTests -s --durations yes --use-colour yes
2019-07-25 15:37:38 +00:00
- valgrind --tool=memcheck --gen-suppressions=all --leak-check=full --leak-resolution=med --track-origins=yes --vgdb=no --error-exitcode=1 build-release/PorygonLangTests
2019-06-06 17:24:27 +00:00
2019-08-11 14:05:14 +00:00
- name: test-release-windows
image: deukhoofd/windowsbuilder
commands:
- update-alternatives --set i686-w64-mingw32-gcc /usr/bin/i686-w64-mingw32-gcc-posix
- update-alternatives --set i686-w64-mingw32-g++ /usr/bin/i686-w64-mingw32-g++-posix
- update-alternatives --set x86_64-w64-mingw32-gcc /usr/bin/x86_64-w64-mingw32-gcc-posix
- update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix
2019-09-05 08:59:01 +00:00
- cmake -DCMAKE_BUILD_TYPE=Release . -B build-release-windows -D CMAKE_C_COMPILER=/usr/bin/x86_64-w64-mingw32-gcc -D CMAKE_CXX_COMPILER=x86_64-w64-mingw32-g++ -DWINDOWS=ON
- cmake --build build-release-windows --target all -- -j 4
2019-08-17 16:58:43 +00:00
- export WINEARCH=win64
2019-08-11 14:05:14 +00:00
- wine build-release-windows/PorygonLangTests.exe -s