Commit 5e0d56e7 authored by Alexandre Julliard's avatar Alexandre Julliard

gitlab: Add macOS build.

parent 4e55dfb7
#!/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: ...@@ -33,6 +33,22 @@ build-all:
- rm -fr .git/rebase-merge # in case a previous CI run failed in git rebase - 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 - 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: build-winetest:
extends: .wine-build extends: .wine-build
rules: rules:
......
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