Commit ba8c2188 authored by Tim Sheridan's avatar Tim Sheridan

Add Mac CI build config

parent 82c30fbd
Pipeline #9491707 failed with stages
in 9 minutes and 41 seconds
......@@ -3,12 +3,6 @@
# the new ones here in these builds.
image: registry.gitlab.com/inkscape/inkscape-ci-docker/master
before_script:
# CCache Config
- mkdir -p ccache
- export CCACHE_BASEDIR=${PWD}
- export CCACHE_DIR=${PWD}/ccache
cache:
paths:
- ccache/
......@@ -16,6 +10,11 @@ cache:
# Building inkscape
inkscape:
stage: build
before_script:
# CCache Config
- mkdir -p ccache
- export CCACHE_BASEDIR=${PWD}
- export CCACHE_DIR=${PWD}/ccache
script:
- mkdir -p build
- cd build
......@@ -27,6 +26,36 @@ inkscape:
paths:
- build/
inkscape:mac:
stage: build
tags:
- mac
before_script:
- brew update
- brew upgrade
# Tools
- brew install cmake intltool libtool pkg-config ccache
# Libraries
- brew install bdw-gc boost gdl gettext gsl gtkmm3 libcdr libvisio libwpg pango popt poppler potrace
# Testing tools
# TODO
# Cleanup
- brew cleanup
# CCache Config
- mkdir -p ccache
- export CCACHE_BASEDIR=${PWD}
- export CCACHE_DIR=${PWD}/ccache
script:
- mkdir -p build
- cd build
- cmake .. -DIntl_INCLUDE_DIR=/usr/local/opt/gettext/include -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_BUILD_TYPE=Debug
- make -j1
- cd ..
artifacts:
expire_in: 1 year
paths:
- build/
# This job is a static analysis build by clang.
# It takes MORE THAN 3 HOURS, and depending on worker sometimes 4 hours.
# Make sure the timeout of the build is big enough
......
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