Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
67f2da2a
Commit
67f2da2a
authored
Jan 09, 2024
by
Jacek Caban
Committed by
Alexandre Julliard
Jan 09, 2024
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gitlab: Cache config.cache in Clang builds.
parent
20e3b7b8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
7 deletions
+26
-7
build-clang
tools/gitlab/build-clang
+3
-1
build.yml
tools/gitlab/build.yml
+23
-6
No files found.
tools/gitlab/build-clang
View file @
67f2da2a
...
@@ -9,5 +9,7 @@ set -Eeuxo pipefail
...
@@ -9,5 +9,7 @@ set -Eeuxo pipefail
./tools/make_makefiles
./tools/make_makefiles
autoreconf
-f
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
)
make
-s
-j
$(
nproc
)
cd
..
tools/gitlab/build.yml
View file @
67f2da2a
...
@@ -9,12 +9,6 @@
...
@@ -9,12 +9,6 @@
cache
:
cache
:
-
paths
:
-
paths
:
-
ccache/
-
ccache/
-
key
:
files
:
-
configure.ac
paths
:
-
build32/config.cache
-
build64/config.cache
before_script
:
before_script
:
-
export BASEDIR="$PWD"
-
export BASEDIR="$PWD"
-
export CCACHE_BASEDIR="$BASEDIR"
-
export CCACHE_BASEDIR="$BASEDIR"
...
@@ -34,7 +28,15 @@ build-linux:
...
@@ -34,7 +28,15 @@ build-linux:
expire_in
:
1 day
expire_in
:
1 day
paths
:
paths
:
-
usr/local/
-
usr/local/
cache
:
-
key
:
files
:
-
configure.ac
paths
:
-
build32/config.cache
-
build64/config.cache
script
:
script
:
-
mkdir -p build32 build64
-
git rebase $CI_MERGE_REQUEST_DIFF_BASE_SHA --exec ./tools/gitlab/build-linux
-
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@' |
-
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
(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:
...
@@ -43,7 +45,14 @@ build-clang:
extends
:
.wine-build
extends
:
.wine-build
rules
:
rules
:
-
if
:
$CI_PIPELINE_SOURCE == 'merge_request_event'
-
if
:
$CI_PIPELINE_SOURCE == 'merge_request_event'
cache
:
-
key
:
files
:
-
configure.ac
paths
:
-
build/config.cache
script
:
script
:
-
mkdir -p build
-
./tools/gitlab/build-clang
-
./tools/gitlab/build-clang
build-mac
:
build-mac
:
...
@@ -52,12 +61,20 @@ build-mac:
...
@@ -52,12 +61,20 @@ build-mac:
-
if
:
$CI_PIPELINE_SOURCE == 'merge_request_event'
-
if
:
$CI_PIPELINE_SOURCE == 'merge_request_event'
tags
:
tags
:
-
mac
-
mac
cache
:
-
key
:
files
:
-
configure.ac
paths
:
-
build32/config.cache
-
build64/config.cache
artifacts
:
artifacts
:
when
:
on_failure
when
:
on_failure
paths
:
paths
:
-
build64/config.log
-
build64/config.log
-
build32/config.log
-
build32/config.log
script
:
script
:
-
mkdir -p build32 build64
-
export PATH="/usr/local/opt/ccache/libexec:$PATH"
-
export PATH="/usr/local/opt/ccache/libexec:$PATH"
-
git rebase $CI_MERGE_REQUEST_DIFF_BASE_SHA --exec ./tools/gitlab/build-mac
-
git rebase $CI_MERGE_REQUEST_DIFF_BASE_SHA --exec ./tools/gitlab/build-mac
...
...
Vitaly Lipatov
@lav
mentioned in commit
2d9f5bea
·
Feb 25, 2024
mentioned in commit
2d9f5bea
mentioned in commit 2d9f5bea79da044a3077f6fbfb35f25301b4b098
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment