mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 16:33:39 +00:00
gitlab: Add macOS build.
This commit is contained in:
parent
4e55dfb7c5
commit
5e0d56e7e7
17
tools/gitlab/build-mac
Executable file
17
tools/gitlab/build-mac
Executable file
|
@ -0,0 +1,17 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo "Building $(git log -1)"
|
||||
echo "---"
|
||||
|
||||
set -Eeuxo pipefail
|
||||
|
||||
./tools/make_requests
|
||||
./tools/make_makefiles
|
||||
autoreconf
|
||||
|
||||
cd build64
|
||||
../configure -C --enable-win64 --with-mingw BISON=/usr/local/opt/bison/bin/bison
|
||||
make -s -j8
|
||||
cd ..
|
||||
|
||||
git reset --hard
|
|
@ -33,6 +33,22 @@ build-all:
|
|||
- rm -fr .git/rebase-merge # in case a previous CI run failed in git rebase
|
||||
- git rebase $CI_MERGE_REQUEST_DIFF_BASE_SHA --exec ./tools/gitlab/build-all
|
||||
|
||||
build-mac:
|
||||
extends: .wine-build
|
||||
rules:
|
||||
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
|
||||
tags:
|
||||
- mac
|
||||
artifacts:
|
||||
when: on_failure
|
||||
paths:
|
||||
- build64/config.log
|
||||
- build32/config.log
|
||||
script:
|
||||
- rm -fr .git/rebase-merge
|
||||
- export PATH="/usr/local/opt/ccache/libexec:$PATH"
|
||||
- git rebase $CI_MERGE_REQUEST_DIFF_BASE_SHA --exec ./tools/gitlab/build-mac
|
||||
|
||||
build-winetest:
|
||||
extends: .wine-build
|
||||
rules:
|
||||
|
|
Loading…
Reference in a new issue