diff options
author | tastytea | 2020-01-07 09:16:30 +0100 |
---|---|---|
committer | tastytea | 2020-01-07 09:16:30 +0100 |
commit | b1c99e70b80d4d454dd132cb9a9a65a929f79e15 (patch) | |
tree | 75046caaba10fe881139001dd453d7625017edbe | |
parent | 709570be6214e5d71dfde273de22eadc008ef621 (diff) | |
download | mastodonpp-b1c99e70b80d4d454dd132cb9a9a65a929f79e15.tar mastodonpp-b1c99e70b80d4d454dd132cb9a9a65a929f79e15.tar.gz mastodonpp-b1c99e70b80d4d454dd132cb9a9a65a929f79e15.zip |
CI: Compile exmaples.
-rw-r--r-- | .drone.yml | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -28,13 +28,13 @@ steps: - apt-get install -qq build-essential cmake clang - apt-get install -qq catch libcurl4-openssl-dev - rm -rf build && mkdir -p build && cd build - - cmake -G "Unix Makefiles" -DWITH_TESTS=YES .. + - cmake -G "Unix Makefiles" -DWITH_TESTS=YES -DWITH_EXAMPLES=YES .. - make VERBOSE=1 - make install DESTDIR=install - cd tests && ctest -V - cd ../../ - rm -rf build && mkdir -p build && cd build - - CXX="clang++" cmake -G "Unix Makefiles" -DWITH_TESTS=YES .. + - CXX="clang++" cmake -G "Unix Makefiles" -DWITH_TESTS=YES -DWITH_EXAMPLES=YES .. - make VERBOSE=1 - make install DESTDIR=install - cd tests && ctest -V @@ -57,13 +57,13 @@ steps: - apt-get install -qq build-essential cmake clang - apt-get install -qq catch libcurl4-openssl-dev - rm -rf build && mkdir -p build && cd build - - cmake -G "Unix Makefiles" -DWITH_TESTS=YES .. + - cmake -G "Unix Makefiles" -DWITH_TESTS=YES -DWITH_EXAMPLES=YES .. - make VERBOSE=1 - make install DESTDIR=install - cd tests && ctest -V - cd ../../ - rm -rf build && mkdir -p build && cd build - - CXX="clang++" cmake -G "Unix Makefiles" -DWITH_TESTS=YES .. + - CXX="clang++" cmake -G "Unix Makefiles" -DWITH_TESTS=YES -DWITH_EXAMPLES=YES .. - make VERBOSE=1 - make install DESTDIR=install - cd tests && ctest -V |