Skip to content

Commit 9bba407

Browse files
committed
Targeting mac builds to use 10.14 SDK #2
1 parent 18ebdcc commit 9bba407

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

.gitlab-ci.yml

+3-12
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,10 @@ mac-builder:
3131
artifacts:
3232
expire_in: 6 months
3333
paths:
34-
- build/install-x64/*
34+
- build/install-x64/*
3535
script:
3636
- mkdir -p build
37-
- cmake -B build -S . \
38-
-DCMAKE_EXE_LINKER_FLAGS="-stdlib=libc++" \
39-
-DCMAKE_SHARED_LINKER_FLAGS="-stdlib=libc++" \
40-
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
41-
-DCMAKE_INSTALL_PREFIX:PATH=build/install-x64 \
42-
-DCMAKE_CXX_COMPILER=clang++ \
43-
-DCMAKE_C_COMPILER=clang \
44-
-DCMAKE_BUILD_TYPE:STRING=Release \
45-
-DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk \
46-
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.9
37+
- cmake -B build -S . -DCMAKE_EXE_LINKER_FLAGS="-stdlib=libc++" -DCMAKE_SHARED_LINKER_FLAGS="-stdlib=libc++" -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -D"CMAKE_INSTALL_PREFIX:PATH=build/install-x64" -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -D"CMAKE_BUILD_TYPE:STRING=Release" -D"CMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk" -D"CMAKE_OSX_DEPLOYMENT_TARGET=10.9"
4738
- cmake --build build -j 9
4839
- cmake --install build
4940
- PROJECT_VERSION=$(grep -E '^set\(PROJECT_VERSION_FULL "(.*)' CMakeLists.txt | awk '{print $2}' | tr -d '")')
@@ -52,7 +43,7 @@ mac-builder:
5243
- git log $(git describe --tags --abbrev=0 @^)..@ --oneline --pretty=format:"- %C(auto,yellow)%h%C(auto,magenta)% %C(auto,blue)%>(12,trunc)%ad %C(auto,green)%<(25,trunc)%aN%C(auto,reset)%s%C(auto,red)% gD% D" --date=short > "build/install-x64/share/$CI_PROJECT_NAME.log"
5344
when: always
5445
except:
55-
- tags
46+
- tags
5647
tags:
5748
- mac
5849

0 commit comments

Comments
 (0)