From 0ac17644646f9376e6cda4c5eb78aa194ecf90ba Mon Sep 17 00:00:00 2001 From: jpic Date: Sun, 31 May 2020 12:23:48 +0200 Subject: [PATCH] Try more build --- .gitlab-ci.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5c62b09..d9fb414 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,16 +1,20 @@ build: - cache: - key: cache - paths: [.cache] - image: quay.io/buildah/stable - script: - dnf install -y curl python38 - curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py - python3 get-pip.py + script: - pip3 install -U --user -e .[cli] - CACHE_DIR=$(pwd)/.cache python3 ./shlaxfile.py build stage: build +build-itself: + cache: + key: cache + paths: [.cache] + image: shlax:$CI_COMMIT_SHORT_SHA + script: python3 ./shlaxfile.py build + stage: test + test: image: yourlabs/python stage: build