mirror of https://gitlab.com/cppit/jucipp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.1 KiB
50 lines
1.1 KiB
variables: |
|
GIT_SUBMODULE_STRATEGY: recursive |
|
|
|
stages: |
|
- test |
|
- chore |
|
|
|
.script: &compile |
|
stage: test |
|
script: |
|
- mkdir build && cd build |
|
- cmake -DBUILD_TESTING=1 .. |
|
- make -j$(nproc) |
|
- broadwayd & CTEST_OUTPUT_ON_FAILURE=1 make test |
|
|
|
ubuntu: |
|
image: cppit/jucipp:ubuntu |
|
<<: *compile |
|
fedora: |
|
image: cppit/jucipp:fedora |
|
<<: *compile |
|
arch: |
|
image: cppit/jucipp:arch |
|
<<: *compile |
|
static-analysis: |
|
image: cppit/jucipp:arch |
|
stage: test |
|
script: |
|
- mkdir build && cd build |
|
- scan-build cmake .. |
|
- scan-build --status-bugs make -j$(nproc) |
|
thread-safety-analysis: |
|
image: cppit/jucipp:arch |
|
stage: test |
|
script: |
|
- mkdir build && cd build |
|
- CXX=clang++ CXXFLAGS="-Werror -Wno-deprecated-declarations" cmake .. |
|
- make -j$(nproc) |
|
debian-testing: |
|
image: cppit/jucipp:debian-testing |
|
<<: *compile |
|
debian: |
|
image: cppit/jucipp:debian |
|
<<: *compile |
|
|
|
Clean appveyor cache: |
|
stage: chore |
|
when: manual |
|
script: |
|
- 'curl -H "Authorization: Bearer v2.${APPVEYOR_TOKEN}" -H "Content-Type: application/json" -X "DELETE" https://ci.appveyor.com/api/projects/zalox/jucipp-oisms/buildcache'
|
|
|