From 0a81f98606df0678e73d56abdbd6724ac9d48f43 Mon Sep 17 00:00:00 2001 From: joanvallve <jvallve@iri.upc.edu> Date: Tue, 13 Feb 2024 12:33:49 +0100 Subject: [PATCH] update CI --- .gitlab-ci.yml | 28 ++++++++++------------------ 1 file changed, 10 insertions(+), 18 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4a0a460..7ba747c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,16 +1,9 @@ stages: # List of stages for jobs, and their order of execution - - install - - test + - bionic + - focal + - jammy ############ YAML ANCHORS ############ -.script_gcc5_template: &script_gcc5_definition - - apt-get update -y - - apt-get install software-properties-common -y - - add-apt-repository ppa:ubuntu-toolchain-r/test -y - - apt-get update -y - - apt-get install gcc-snapshot -y - - apt-get install gcc-5 g++-5 -y - .script_install_template: &script_install_definition - apt-get update -y && apt-get install -y expect - ./install_wolf.sh -a -f y -c y -d . -w . @@ -33,7 +26,7 @@ stages: # List of stages for jobs, and their order of execution ############ JOBS ############ installation-test-bionic: - stage: install + stage: bionic cache: [] image: ubuntu:18.04 script: @@ -41,18 +34,17 @@ installation-test-bionic: - *script_test_definition installation-test-focal: - stage: install + stage: focal cache: [] image: ubuntu:20.04 script: - *script_install_definition - *script_test_definition -lint-test-job: - stage: test +installation-test-jammy: + stage: jammy cache: [] - image: ubuntu:20.04 + image: ubuntu:22.04 script: - - echo "Linting code... This will take about 10 seconds." - - sleep 10 - - echo "No lint issues found." \ No newline at end of file + - *script_install_definition + - *script_test_definition \ No newline at end of file -- GitLab