From ddce5d04e06c9fddcded7c8e5364b8afa9fffc8c Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Mon, 12 Jun 2017 01:03:15 -0400 Subject: ci: Remove tarballing of build artifacts. GitLab supports specifying directories as artifacts, so hopefully letting GitLab archive it will be a bit faster. --- .gitlab-ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 34db594a4..fd61174bf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,14 +25,12 @@ inkscape: - cmake .. -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_BUILD_TYPE=Debug - make - cd .. - - tar vfcz inkscape-build.tgz build/ artifacts: paths: - - inkscape-build.tgz + - build/ test: stage: test script: - - tar xvfz inkscape-build.tgz - cd build - make test -- cgit v1.2.3 From d1879130a4f00d90a52723c12bf4dfac11437729 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Mon, 12 Jun 2017 01:08:11 -0400 Subject: ci: Expire artifacts after a year. These are mostly needed to pass between stages, but they might perhaps be used for a bisection if necessary. --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fd61174bf..31d1ff7f5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -26,6 +26,7 @@ inkscape: - make - cd .. artifacts: + expire_in: 1 year paths: - build/ -- cgit v1.2.3 From d724383313e79ce5f8575e2673e0bc7dfead931d Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Mon, 12 Jun 2017 01:31:46 -0400 Subject: ci: Build in parallel. GitLab's shared runners are on DO 4GB instances, which should have 2 core processors. --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 31d1ff7f5..29d090da7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,7 +23,7 @@ inkscape: - mkdir -p build - cd build - cmake .. -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_BUILD_TYPE=Debug - - make + - make -j3 - cd .. artifacts: expire_in: 1 year -- cgit v1.2.3