Skip to content
Snippets Groups Projects
Commit 6e1f4936 authored by Tomáš Pecka's avatar Tomáš Pecka
Browse files

CI: Do not run build and test on nightly builds. Except test while building docker image

parent 9116244a
No related branches found
No related tags found
1 merge request!46CI: Do not run build and test on nightly builds. Except test while building docker image
Pipeline #25267 passed
......@@ -33,6 +33,9 @@ stages:
before_script:
- apk add --no-cache bash build-base cmake python3 libexecinfo-dev cppunit-dev libxml2-dev tclap-dev readline-dev qt5-qtbase-dev graphviz-dev jsoncpp-dev ${EXTRA_PKGS}
- export CXX=${CXX}
except:
variables:
- $SCHEDULED_NIGHTLY
 
.build:compatibility: &build-compatibility
<<: *build
......@@ -131,6 +134,9 @@ build:doc:
image: alpine:edge
before_script:
- apk add --no-cache bash bc coreutils python3 cmake make libexecinfo cppunit libxml2 tclap readline qt5-qtbase qt5-qtbase-x11 graphviz jsoncpp
except:
variables:
- $SCHEDULED_NIGHTLY
 
.test:compatibility: &test-compatibility
<<: *test
......
......@@ -30,7 +30,7 @@ RUN cmake \
-DCMAKE_INSTALL_PREFIX=$BASEDIR/install \
.. && \
make -j $(grep -c processor /proc/cpuinfo) && \
make test && \
make test ARGS="-j $(grep -c processor /proc/cpuinfo)" && \
make install
 
 
......
......@@ -27,7 +27,7 @@ RUN cmake \
-DCMAKE_INSTALL_PREFIX=$BASEDIR/install \
.. && \
make -j $(grep -c processor /proc/cpuinfo) && \
make test && \
make test ARGS="-j $(grep -c processor /proc/cpuinfo)" && \
make install
 
 
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment