From eb6ca7b6658df0ff46a5386b663f88e1855a95d5 Mon Sep 17 00:00:00 2001 From: Nemirtingas Date: Tue, 4 May 2021 15:52:47 +0200 Subject: [PATCH] Alpine is fast and lightweight. --- .gitlab-ci.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 976db35..910303c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -236,7 +236,6 @@ build_windows: image: fedora:29 needs: - protobuf_static_steamos - when: manual script: - dnf -y install wine wget p7zip sed dos2unix @@ -276,21 +275,19 @@ build_windows: deploy_all: stage: deploy - image: fedora + image: alpine dependencies: - - build_windows - - build_steamos + - build:windows + - build:linux + - build:macosx script: + - apk --no-cache add git tree - ls -lah - - dnf -y install git tree - mkdir -p release/source_code - git bundle create release/source_code/source_code.bundle --all - "echo \"This is a git bundle of the full repo, to use: git clone source_code.bundle --branch master\" > release/source_code/Readme.txt" - - mv linux release/ - - shopt -s extglob - - rm -rf .g* - - rm -rf !(release) + - find . -mindepth 1 -maxdepth 1 ! -name release -exec rm -rf '{}' \; - mv release/* ./ - rm -rf release - echo $CI_JOB_ID > job_id