From 9b7daea17772415ae9dd67f35375d5dc0f0df008 Mon Sep 17 00:00:00 2001 From: James H Date: Mon, 3 Jan 2022 14:15:05 +0000 Subject: [PATCH 1/2] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d9daeca..1a6e070 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,8 +23,7 @@ build-job: # This job runs in the build stage, which runs first. tags: - linux before_script: - - apt update - - apt install -y cmake libgtk2.0-dev + - apk --no-cache add cmake libgtk2.0-dev script: - echo "Configuring" - cmake -B build . From cacd94da62d70a3f724ba5789991c6e821fb8ca2 Mon Sep 17 00:00:00 2001 From: James H Date: Mon, 3 Jan 2022 14:17:24 +0000 Subject: [PATCH 2/2] Update .gitlab-ci.yml file to use debian image --- .gitlab-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1a6e070..58c93cb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,6 +13,8 @@ # # For more information, see: https://docs.gitlab.com/ee/ci/yaml/index.html#stages +image: debian:stable + stages: # List of stages for jobs, and their order of execution - build - test @@ -23,7 +25,8 @@ build-job: # This job runs in the build stage, which runs first. tags: - linux before_script: - - apk --no-cache add cmake libgtk2.0-dev + - apt update + - apt install -y cmake libgtk2.0-dev script: - echo "Configuring" - cmake -B build .