Static build, disable test and coverage
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
fe4a5f4460
commit
a6fb93a484
1 changed files with 21 additions and 10 deletions
31
.drone.yml
31
.drone.yml
|
@ -4,16 +4,28 @@ name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: arminfriedl/xwim-build
|
image: arminfriedl/xwim-build:shared
|
||||||
commands:
|
commands:
|
||||||
- meson wrap install gtest
|
# - meson wrap install gtest
|
||||||
- meson build -Db_coverage=true
|
- meson target/shared #-Db_coverage=true
|
||||||
- ninja -C build
|
- ninja -C target/shared
|
||||||
- ninja -C build test && ninja -C build coverage
|
# - ninja -C build test && ninja -C build coverage
|
||||||
- echo "******** TEST LOGS ***********"
|
# - echo "******** TEST LOGS ***********"
|
||||||
- cat build/meson-logs/testlog.txt
|
# - cat build/meson-logs/testlog.txt
|
||||||
- echo "****** COVERAGE LOGS *********"
|
# - echo "****** COVERAGE LOGS *********"
|
||||||
- cat build/meson-logs/coverage.txt
|
# - cat build/meson-logs/coverage.txt
|
||||||
|
|
||||||
|
- name: build-static
|
||||||
|
image: arminfriedl/xwim-build:static
|
||||||
|
commands:
|
||||||
|
# - meson wrap install gtest
|
||||||
|
- meson --default-library static target/static #-Db_coverage=true
|
||||||
|
- ninja -C target/static
|
||||||
|
# - ninja -C build test && ninja -C build coverage
|
||||||
|
# - echo "******** TEST LOGS ***********"
|
||||||
|
# - cat build/meson-logs/testlog.txt
|
||||||
|
# - echo "****** COVERAGE LOGS *********"
|
||||||
|
# - cat build/meson-logs/coverage.txt
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
|
@ -38,7 +50,6 @@ steps:
|
||||||
- name: package
|
- name: package
|
||||||
image: arminfriedl/xwim-build
|
image: arminfriedl/xwim-build
|
||||||
commands:
|
commands:
|
||||||
- tar cjf xwim-${DRONE_TAG}-x86_64-glibc-linux.tar.bz2 xwim-${DRONE_TAG}-x86_64-glibc-linux/xwim
|
|
||||||
- tar czf xwim-${DRONE_TAG}-x86_64-glibc-linux.tar.gz xwim-${DRONE_TAG}-x86_64-glibc-linux/xwim
|
- tar czf xwim-${DRONE_TAG}-x86_64-glibc-linux.tar.gz xwim-${DRONE_TAG}-x86_64-glibc-linux/xwim
|
||||||
- zip -r xwim-${DRONE_TAG}-x86_64-glibc-linux.zip xwim-${DRONE_TAG}-x86_64-glibc-linux
|
- zip -r xwim-${DRONE_TAG}-x86_64-glibc-linux.zip xwim-${DRONE_TAG}-x86_64-glibc-linux
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue