1 # CI script for building Wine
5 image: $CI_REGISTRY/wine/wine:debian-bullseye
16 - build32/config.cache
17 - build64/config.cache
19 - export BASEDIR="$PWD"
20 - export CCACHE_BASEDIR="$BASEDIR"
21 - export CCACHE_DIR="$BASEDIR/ccache"
22 - export CCACHE_COMPILERCHECK=content
23 - export PATH="/usr/lib/ccache:$PATH"
24 - mkdir -p build32 build64
25 - rm -fr .git/rebase-merge # in case a previous CI run failed in git rebase
30 - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
36 - git rebase $CI_MERGE_REQUEST_DIFF_BASE_SHA --exec ./tools/gitlab/build-linux
41 - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
50 - export PATH="/usr/local/opt/ccache/libexec:$PATH"
51 - git rebase $CI_MERGE_REQUEST_DIFF_BASE_SHA --exec ./tools/gitlab/build-mac
56 - if: $CI_PIPELINE_SOURCE == 'trigger' && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
62 - ./tools/gitlab/build-linux
66 image: $CI_REGISTRY/wine/wine:debian-bullseye
68 - if: $CI_PIPELINE_SOURCE == 'trigger' && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
70 - job: build-daily-linux
79 - mv usr/local/lib/wine/i386-windows/winetest.exe winetest.exe
80 - mv usr/local/lib/wine/x86_64-windows/winetest.exe winetest64.exe