Commit 67f2da2a authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

gitlab: Cache config.cache in Clang builds.

parent 20e3b7b8
......@@ -9,5 +9,7 @@ set -Eeuxo pipefail
./tools/make_makefiles
autoreconf -f
./configure -q --enable-archs=i386,x86_64,aarch64 --with-mingw=clang
cd build
../configure -q -C --enable-archs=i386,x86_64,aarch64 --with-mingw=clang
make -s -j$(nproc)
cd ..
......@@ -9,12 +9,6 @@
cache:
- paths:
- ccache/
- key:
files:
- configure.ac
paths:
- build32/config.cache
- build64/config.cache
before_script:
- export BASEDIR="$PWD"
- export CCACHE_BASEDIR="$BASEDIR"
......@@ -34,7 +28,15 @@ build-linux:
expire_in: 1 day
paths:
- usr/local/
cache:
- key:
files:
- configure.ac
paths:
- build32/config.cache
- build64/config.cache
script:
- mkdir -p build32 build64
- git rebase $CI_MERGE_REQUEST_DIFF_BASE_SHA --exec ./tools/gitlab/build-linux
- git diff --name-only $CI_MERGE_REQUEST_DIFF_BASE_SHA | sed -re '/\/tests\//!d; s@/tests/.*@/tests/Makefile.in@' |
(xargs -r ls 2>/dev/null || true) | xargs -r sed '/TESTDLL/!d; s@.dll@@; s@.*= *@@' >usr/local/share/wine/winetest.args
......@@ -43,7 +45,14 @@ build-clang:
extends: .wine-build
rules:
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
cache:
- key:
files:
- configure.ac
paths:
- build/config.cache
script:
- mkdir -p build
- ./tools/gitlab/build-clang
build-mac:
......@@ -52,12 +61,20 @@ build-mac:
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
tags:
- mac
cache:
- key:
files:
- configure.ac
paths:
- build32/config.cache
- build64/config.cache
artifacts:
when: on_failure
paths:
- build64/config.log
- build32/config.log
script:
- mkdir -p build32 build64
- export PATH="/usr/local/opt/ccache/libexec:$PATH"
- git rebase $CI_MERGE_REQUEST_DIFF_BASE_SHA --exec ./tools/gitlab/build-mac
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment