PorygonLang/.drone.yml

26 lines
996 B
YAML

kind: pipeline
name: default
steps:
- name: test-debug-linux
image: deukhoofd/linux64builder
commands:
- cmake -DCMAKE_BUILD_TYPE=Debug . -B build-debug
- cmake --build build-debug --target all -- -j 4
- build-debug/PorygonLangTests -s --durations yes --use-colour yes
- name: test-release-linux
image: deukhoofd/linux64builder
commands:
- cmake -DCMAKE_BUILD_TYPE=Release . -B build-release
- cmake --build build-release --target all -- -j 4
- build-release/PorygonLangTests -s --durations yes --use-colour yes
- valgrind --tool=memcheck --gen-suppressions=all --leak-check=full --leak-resolution=med --track-origins=yes --vgdb=no --error-exitcode=1 build-release/PorygonLangTests
# - name: test-release-windows
# image: deukhoofd/dockcross-windows
# commands:
# - cmake -DCMAKE_BUILD_TYPE=Release . -B build-release
# - cmake --build build-release --target all -- -j 4
# - build-release/PorygonLangTests -s