Browse Source

CI: Do not test all compilers on tags

tags/0.10.5
tastytea 1 year ago
parent
commit
1a17fa0c6e
Signed by: tastytea <tastytea@tastytea.de> GPG Key ID: CFC39497F1B26E07
1 changed files with 33 additions and 24 deletions
  1. +33
    -24
      .drone.yml

+ 33
- 24
.drone.yml View File

@@ -1,7 +1,32 @@
pipeline:
gcc6:
image: debian:stretch-slim
pull: true
environment:
- LANG=C.utf8
commands:
- rm /etc/apt/apt.conf.d/docker-clean
- apt-get update -q
- apt-get install -qy build-essential cmake pkg-config
- apt-get install -qy libvsqlitepp-dev libboost-all-dev libxdg-basedir-dev qt5-default qttools5-dev-tools
- apt-get install -qy rpm file
- rm -rf build && mkdir -p build && cd build
- cmake ..
- make VERBOSE=1
- make install DESTDIR=install
- make package
- cmake -DWITH_DEB=ON ..
- make package
- cmake -DWITH_DEB=OFF -DWITH_RPM=ON ..
- make package
volumes:
- /var/cache/debian-package-cache:/var/cache/apt/archives

gcc7:
image: debian:stretch-slim
pull: true
when:
event: [push, pull_request]
environment:
- LANG=C.utf8
commands:
@@ -34,6 +59,8 @@ pipeline:
gcc8:
image: debian:stretch-slim
pull: true
when:
event: [push, pull_request]
environment:
- LANG=C.utf8
commands:
@@ -66,6 +93,8 @@ pipeline:
clang3:
image: debian:stretch-slim
pull: true
when:
event: [push, pull_request]
environment:
- LANG=C.utf8
- CXX=clang++
@@ -90,6 +119,8 @@ pipeline:
clang5:
image: debian:stretch-slim
pull: true
when:
event: [push, pull_request]
environment:
- LANG=C.utf8
- CXX=clang++-5.0
@@ -117,6 +148,8 @@ pipeline:
clang6:
image: debian:stretch-slim
pull: true
when:
event: [push, pull_request]
environment:
- LANG=C.utf8
- CXX=clang++-6.0
@@ -141,30 +174,6 @@ pipeline:
volumes:
- /var/cache/debian-package-cache:/var/cache/apt/archives

gcc6:
image: debian:stretch-slim
pull: true
environment:
- LANG=C.utf8
commands:
- rm /etc/apt/apt.conf.d/docker-clean
- apt-get update -q
- apt-get install -qy build-essential cmake pkg-config
- apt-get install -qy libvsqlitepp-dev libboost-all-dev libxdg-basedir-dev qt5-default qttools5-dev-tools
- apt-get install -qy rpm file
- rm -rf build && mkdir -p build && cd build
- cmake ..
- make VERBOSE=1
- make install DESTDIR=install
- make package
- cmake -DWITH_DEB=ON ..
- make package
- cmake -DWITH_DEB=OFF -DWITH_RPM=ON ..
- make package
volumes:
- /var/cache/debian-package-cache:/var/cache/apt/archives


prepare_release:
image: debian:stretch-slim
pull: true

Loading…
Cancel
Save