Test a different way to do our CI
Introduce a script, which is called with different parameters, to have a number of builds done with a different configuration, without repeating things too much.
This commit is contained in:
+25
-7
@@ -1,8 +1,26 @@
|
|||||||
job:
|
before_script:
|
||||||
|
- mkdir build && cd build/
|
||||||
|
|
||||||
|
botan_cares_systemd_idn:
|
||||||
script:
|
script:
|
||||||
- mkdir build/
|
- ../scripts/build_and_run_tests.sh -DWITH_BOTAN=1 -DWITH_CARES=1 -DWITH_SYSTEMD=1 -DWITH_LIBIDN=1
|
||||||
- cd build/
|
|
||||||
- cmake ..
|
botan_cares_systemd:
|
||||||
- make -j8
|
script:
|
||||||
- make test_suite
|
- ../scripts/build_and_run_tests.sh -DWITH_BOTAN=1 -DWITH_CARES=1 -DWITH_SYSTEMD=1 -DWITHOUT_LIBIDN=1
|
||||||
- ./test_suite
|
|
||||||
|
botan_cares_idn:
|
||||||
|
script:
|
||||||
|
- ../scripts/build_and_run_tests.sh -DWITH_BOTAN=1 -DWITH_CARES=1 -DWITHOUT_SYSTEMD=1 -DWITH_LIBIDN=1
|
||||||
|
|
||||||
|
botan_systemd_idn:
|
||||||
|
script:
|
||||||
|
- ../scripts/build_and_run_tests.sh -DWITH_BOTAN=1 -DWITHOUT_CARES=1 -DWITH_SYSTEMD=1 -DWITH_LIBIDN=1
|
||||||
|
|
||||||
|
cares_systemd_idn:
|
||||||
|
script:
|
||||||
|
- ../scripts/build_and_run_tests.sh -DWITHOUT_BOTAN=1 -DWITH_CARES=1 -DWITH_SYSTEMD=1 -DWITH_LIBIDN=1
|
||||||
|
|
||||||
|
cares_systemd:
|
||||||
|
script:
|
||||||
|
- ../scripts/build_and_run_tests.sh -DWITHOUT_BOTAN=1 -DWITH_CARES=1 -DWITH_SYSTEMD=1 -DWITHOUT_LIBIDN=1
|
||||||
|
|||||||
Executable
+7
@@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e -x
|
||||||
|
|
||||||
|
cmake .. $@
|
||||||
|
make -j$(nproc) biboumi test_suite
|
||||||
|
./test_suite
|
||||||
Reference in New Issue
Block a user