diff options
author | Michael Schuster <michael@schuster.ms> | 2020-03-09 03:48:07 +0300 |
---|---|---|
committer | Michael Schuster <michael@schuster.ms> | 2020-03-09 04:34:55 +0300 |
commit | e833e86da689918ac61a1d77e01d5023eb1c8d0d (patch) | |
tree | 2e6a41099dff01e647638fabd02b18b53764b66a /.drone.yml | |
parent | c812d896aa4835f945ed8de9b4ff5c79c73e1031 (diff) |
Updater: Add CMake option BUILD_UPDATER to make the updater optional
- Default: BUILD_UPDATER = NO
To ease builds for distro packages and contributors (regardless of the specified update URL)
- Enable updater build for Drone CI and AppImage builds
Signed-off-by: Michael Schuster <michael@schuster.ms>
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/.drone.yml b/.drone.yml index 3d62c114a..424d2d83f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -22,7 +22,7 @@ steps: source /opt/qt57/bin/qt57-env.sh && mkdir build && cd build && - cmake -D NO_SHIBBOLETH=1 -DCMAKE_BUILD_TYPE=Debug -DUNIT_TESTING=1 -DSANITIZE_ADDRESS=ON ../ && + 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 . && @@ -59,7 +59,7 @@ steps: source /opt/qt58/bin/qt58-env.sh && mkdir build && cd build && - cmake -D NO_SHIBBOLETH=1 -DCMAKE_BUILD_TYPE=Debug -DUNIT_TESTING=1 -DSANITIZE_ADDRESS=ON ../ && + 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 . && @@ -96,7 +96,7 @@ steps: source /opt/qt59/bin/qt59-env.sh && mkdir build && cd build && - cmake -D NO_SHIBBOLETH=1 -DCMAKE_BUILD_TYPE=Debug -DUNIT_TESTING=1 -DSANITIZE_ADDRESS=ON ../ && + 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 . && @@ -137,7 +137,7 @@ steps: source /opt/qt510/bin/qt510-env.sh && mkdir build && cd build && - cmake -D NO_SHIBBOLETH=1 -DCMAKE_BUILD_TYPE=Debug -DUNIT_TESTING=1 -DSANITIZE_ADDRESS=ON ../ && + 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 . && @@ -178,7 +178,7 @@ steps: source /opt/qt511/bin/qt511-env.sh && mkdir build && cd build && - cmake -D NO_SHIBBOLETH=1 -DCMAKE_BUILD_TYPE=Debug -DUNIT_TESTING=1 -DSANITIZE_ADDRESS=ON ../ && + 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 . && @@ -219,7 +219,7 @@ steps: source /opt/qt511/bin/qt511-env.sh && mkdir build && cd build && - cmake -D NO_SHIBBOLETH=1 -DCMAKE_BUILD_TYPE=Debug -DUNIT_TESTING=1 -DSANITIZE_ADDRESS=ON ../ && + 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 . && @@ -268,7 +268,7 @@ steps: export PKG_CONFIG_PATH=\$QT_BASE_DIR/lib/pkgconfig:\$PKG_CONFIG_PATH && mkdir build && cd build && - cmake -D NO_SHIBBOLETH=1 -DCMAKE_BUILD_TYPE=Debug -DUNIT_TESTING=1 -DSANITIZE_ADDRESS=ON ../ && + 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 . && @@ -317,7 +317,7 @@ steps: export PKG_CONFIG_PATH=\$QT_BASE_DIR/lib/pkgconfig:\$PKG_CONFIG_PATH && mkdir build && cd build && - cmake -D NO_SHIBBOLETH=1 -DCMAKE_BUILD_TYPE=Debug -DUNIT_TESTING=1 -DSANITIZE_ADDRESS=ON ../ && + 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 . && |