1 # CI script for building Wine
5 image: $CI_REGISTRY/wine/wine:debian-bullseye
14 - build32/config.cache
15 - build64/config.cache
17 - export CCACHE_BASEDIR="$PWD"
18 - export CCACHE_DIR="$PWD/ccache"
19 - export CCACHE_COMPILERCHECK=content
20 - export PATH="/usr/lib/ccache:$PATH"
21 - mkdir -p build32 build64
26 - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
33 - ./tools/make_requests
34 - ./tools/make_makefiles
37 - ../configure -C --enable-win64 --enable-werror --with-mingw
40 - ../configure -C --enable-werror --with-mingw
46 - if: $CI_PIPELINE_SOURCE == 'trigger' && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
54 - ../configure -C --enable-win64 --with-mingw
55 - make -s -j$(nproc) programs/winetest/winetest.exe
57 - ../configure -C --with-mingw
58 - make -s -j$(nproc) programs/winetest/winetest.exe
60 - mv build32/programs/winetest/winetest.exe winetest.exe
61 - mv build64/programs/winetest/winetest.exe winetest64.exe
62 - chmod 644 winetest.exe winetest64.exe