gitlab: Add macOS build.

This commit is contained in:
Alexandre Julliard 2022-08-25 11:51:42 -05:00
parent 4e55dfb7c5
commit 5e0d56e7e7
2 changed files with 33 additions and 0 deletions

17
tools/gitlab/build-mac Executable file
View 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

View file

@ -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: