From 8a682e1497b86957222f321bec3317a09a781987 Mon Sep 17 00:00:00 2001 From: Natale Patriciello Date: Wed, 26 Aug 2020 19:11:09 +0200 Subject: [PATCH] ci/cd: Enabled weekly test with tag nsnam The jobs will be submitted (hopefully) to the nsnam-tagged servers. --- utils/tests/gitlab-ci-test.yml | 112 +++++++++++++++++---------------- 1 file changed, 58 insertions(+), 54 deletions(-) diff --git a/utils/tests/gitlab-ci-test.yml b/utils/tests/gitlab-ci-test.yml index 1c59469f1..ae6585608 100644 --- a/utils/tests/gitlab-ci-test.yml +++ b/utils/tests/gitlab-ci-test.yml @@ -22,32 +22,32 @@ FULLNESS: "" # Run the test.py script with files compiled in debug mode -#daily-test-debug: -# extends: .base-test -# image: archlinux/base -# variables: -# COMPILER: g++ -# MODE: debug -# only: -# variables: -# - $RELEASE == "daily" -# before_script: -# - pacman -Syu --noconfirm -# - pacman -Sy base-devel python ccache gsl libgcrypt gtk3 boost valgrind --noconfirm +daily-test-debug: + extends: .base-test + image: archlinux/base + variables: + COMPILER: g++ + MODE: debug + only: + variables: + - $RELEASE == "daily" + before_script: + - pacman -Syu --noconfirm + - pacman -Sy base-devel python ccache gsl libgcrypt gtk3 boost valgrind --noconfirm # Run the test.py script with files compiled in release mode -#daily-test-release: -# extends: .base-test -# image: archlinux/base -# variables: -# COMPILER: g++ -# MODE: release -# only: -# variables: -# - $RELEASE == "daily" -# before_script: -# - pacman -Syu --noconfirm -# - pacman -Sy base-devel python ccache gsl libgcrypt gtk3 boost valgrind --noconfirm +daily-test-release: + extends: .base-test + image: archlinux/base + variables: + COMPILER: g++ + MODE: release + only: + variables: + - $RELEASE == "daily" + before_script: + - pacman -Syu --noconfirm + - pacman -Sy base-devel python ccache gsl libgcrypt gtk3 boost valgrind --noconfirm # Run the test.py script with files compiled in optimized mode daily-test-optimized: @@ -65,38 +65,38 @@ daily-test-optimized: ### Valgrind tests # Run the test.py script with files compiled in debug mode -#weekly-test-debug: -# extends: .base-test -# image: archlinux/base -# variables: -# COMPILER: g++ -# MODE: debug -# VALGRIND: -g -# only: -# variables: -# - $RELEASE == "weekly" -# tags: -# - nsnam -# before_script: -# - pacman -Syu --noconfirm -# - pacman -Sy base-devel python ccache gsl libgcrypt gtk3 boost valgrind --noconfirm +weekly-test-debug: + extends: .base-test + image: archlinux/base + variables: + COMPILER: g++ + MODE: debug + VALGRIND: -g + only: + variables: + - $RELEASE == "weekly" + tags: + - nsnam + before_script: + - pacman -Syu --noconfirm + - pacman -Sy base-devel python ccache gsl libgcrypt gtk3 boost valgrind --noconfirm # Run the test.py script with files compiled in release mode -#weekly-test-release: -# extends: .base-test -# image: archlinux/base -# variables: -# COMPILER: g++ -# MODE: release -# VALGRIND: -g -# only: -# variables: -# - $RELEASE == "weekly" -# tags: -# - nsnam -# before_script: -# - pacman -Syu --noconfirm -# - pacman -Sy base-devel python ccache gsl libgcrypt gtk3 boost valgrind --noconfirm +weekly-test-release: + extends: .base-test + image: archlinux/base + variables: + COMPILER: g++ + MODE: release + VALGRIND: -g + only: + variables: + - $RELEASE == "weekly" + tags: + - nsnam + before_script: + - pacman -Syu --noconfirm + - pacman -Sy base-devel python ccache gsl libgcrypt gtk3 boost valgrind --noconfirm # Run the test.py script with files compiled in optimized mode weekly-test-optimized: @@ -109,6 +109,8 @@ weekly-test-optimized: only: variables: - $RELEASE == "weekly" + tags: + - nsnam before_script: - pacman -Syu --noconfirm - pacman -Sy base-devel python ccache gsl libgcrypt gtk3 boost valgrind --noconfirm @@ -124,6 +126,8 @@ weekly-test-takes-forever-optimized: only: variables: - $RELEASE == "weekly" + tags: + - nsnam before_script: - pacman -Syu --noconfirm - pacman -Sy base-devel python ccache gsl libgcrypt gtk3 boost valgrind --noconfirm