diff options
author | Kevin Ottens <kevin.ottens@nextcloud.com> | 2020-05-14 22:15:45 +0300 |
---|---|---|
committer | Kevin Ottens <kevin.ottens@nextcloud.com> | 2020-05-14 22:15:45 +0300 |
commit | 3867e73fd536a8f4b0e572e0281aa406a742a3a5 (patch) | |
tree | 72ea5f30d0c0dbcb3693ca27c8013ab18305e540 /.drone.yml | |
parent | 57ad12f3d22957c90f7a3b8c98f7bf75f1f0fe42 (diff) |
Stop supporting Qt older than 5.12
This both removes older Qt from the CI and also adjust all the
find_package calls in CMakeLists.txt
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 160 |
1 files changed, 0 insertions, 160 deletions
diff --git a/.drone.yml b/.drone.yml index 09082ee54..e546122f0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,164 +1,4 @@ kind: pipeline -name: qt-5.9 - -steps: -- name: build and test - image: nextcloudci/client-5.9:client-5.9-5 - commands: - # Install QtKeyChain - - /bin/bash -c " - source /opt/qt59/bin/qt59-env.sh && - cd /tmp && - git clone https://github.com/frankosterfeld/qtkeychain.git && - cd qtkeychain && - git checkout v0.9.1 && - mkdir build && - cd build && - cmake ../ && - make && - make install" - # Build client - - /bin/bash -c " - source /opt/qt59/bin/qt59-env.sh && - mkdir build && - cd build && - cmake -D NO_SHIBBOLETH=1 -DBUILD_UPDATER=ON -DCMAKE_BUILD_TYPE=Debug -DUNIT_TESTING=1 -DSANITIZE_ADDRESS=ON ../ && - make && - useradd -m -s /bin/bash test && - chown -R test:test . && - su -c 'ASAN_OPTIONS=detect_leaks=0 ctest --output-on-failure' test" -trigger: - branch: - - master - event: - - pull_request - - push - ---- -kind: pipeline -name: qt-5.10 - -steps: -- name: build and test - image: nextcloudci/client-5.10:client-5.10-3 - commands: - # Install QtKeyChain - - /bin/bash -c " - export CC=gcc-7 && - export CXX=g++-7 && - source /opt/qt510/bin/qt510-env.sh && - cd /tmp && - git clone https://github.com/frankosterfeld/qtkeychain.git && - cd qtkeychain && - git checkout v0.9.1 && - mkdir build && - cd build && - cmake ../ && - make && - make install" - # Build client - - /bin/bash -c " - export CC=gcc-7 && - export CXX=g++-7 && - source /opt/qt510/bin/qt510-env.sh && - mkdir build && - cd build && - cmake -D NO_SHIBBOLETH=1 -DBUILD_UPDATER=ON -DCMAKE_BUILD_TYPE=Debug -DUNIT_TESTING=1 -DSANITIZE_ADDRESS=ON ../ && - make && - useradd -m -s /bin/bash test && - chown -R test:test . && - su -c 'ASAN_OPTIONS=detect_leaks=0 ctest --output-on-failure' test" -trigger: - branch: - - master - event: - - pull_request - - push - ---- -kind: pipeline -name: qt-5.11 - -steps: -- name: build and test - image: nextcloudci/client-5.11:client-5.11-3 - commands: - # Install QtKeyChain - - /bin/bash -c " - export CC=gcc-7 && - export CXX=g++-7 && - source /opt/qt511/bin/qt511-env.sh && - cd /tmp && - git clone https://github.com/frankosterfeld/qtkeychain.git && - cd qtkeychain && - git checkout v0.9.1 && - mkdir build && - cd build && - cmake ../ && - make && - make install" - # Build client - - /bin/bash -c " - export CC=gcc-7 && - export CXX=g++-7 && - source /opt/qt511/bin/qt511-env.sh && - mkdir build && - cd build && - cmake -D NO_SHIBBOLETH=1 -DBUILD_UPDATER=ON -DCMAKE_BUILD_TYPE=Debug -DUNIT_TESTING=1 -DSANITIZE_ADDRESS=ON ../ && - make && - useradd -m -s /bin/bash test && - chown -R test:test . && - su -c 'ASAN_OPTIONS=detect_leaks=0 ctest --output-on-failure' test" -trigger: - branch: - - master - event: - - pull_request - - push - ---- -kind: pipeline -name: qt-5.11-clang - -steps: -- name: build and test - image: nextcloudci/client-5.11:client-5.11-3 - commands: - # Install QtKeyChain - - /bin/bash -c " - export CC=clang-6.0 && - export CXX=clang++-6.0 && - source /opt/qt511/bin/qt511-env.sh && - cd /tmp && - git clone https://github.com/frankosterfeld/qtkeychain.git && - cd qtkeychain && - git checkout v0.9.1 && - mkdir build && - cd build && - cmake ../ && - make && - make install" - # Build client - - /bin/bash -c " - export CC=clang-6.0 && - export CXX=clang++-6.0 && - source /opt/qt511/bin/qt511-env.sh && - mkdir build && - cd build && - cmake -D NO_SHIBBOLETH=1 -DBUILD_UPDATER=ON -DCMAKE_BUILD_TYPE=Debug -DUNIT_TESTING=1 -DSANITIZE_ADDRESS=ON ../ && - make && - useradd -m -s /bin/bash test && - chown -R test:test . && - su -c 'ASAN_OPTIONS=detect_leaks=0 ctest --output-on-failure' test" -trigger: - branch: - - master - event: - - pull_request - - push - ---- -kind: pipeline name: qt-5.12 steps: |