Skip to content

Commit 6dc594b

Browse files
committed
Try to get the MacOSX runs working.
Tell gcc where the system libraries are, and update the MacOSX target version.
1 parent 6ca4bcd commit 6dc594b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/multibuild.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ jobs:
6363
- name: Set extra env
6464
run: |
6565
if [ "macos-latest" == "${{ matrix.os }}" ]; then echo "TRAVIS_OS_NAME=osx" >> $GITHUB_ENV; else echo "TRAVIS_OS_NAME=${{ matrix.os }}" >> $GITHUB_ENV; fi
66+
if [ "macos-latest" == "${{ matrix.os }}" ]; then echo "LDFLAGS=-L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib" >> $GITHUB_ENV; fi
6667
echo "DOCKER_TEST_IMAGE=$(echo multibuild/xenial_${{ matrix.PLAT}})" >> $GITHUB_ENV;
6768
- name: Print some Environment variable
6869
run: |
@@ -77,7 +78,7 @@ jobs:
7778
run: |
7879
if [[ "$PLAT" == "arm64" ]]; then
7980
sudo xcode-select -switch /Applications/Xcode_12.5.1.app
80-
export SDKROOT=/Applications/Xcode_12.5.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk
81+
export SDKROOT=/Applications/Xcode_12.5.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk
8182
fi
8283
source travis-ci/build_steps.sh
8384
echo "------ BEFORE BUILD ---------"

0 commit comments

Comments
 (0)