diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 8da599a932..2efb98e263 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -120,7 +120,17 @@ jobs: - name: install boost run: | - brew install boost-build boost + git clone --depth=1 --recurse-submodules -j10 --branch=boost-1.78.0 https://github.com/boostorg/boost.git + cd boost + bootstrap.sh + + - name: boost headers + run: | + cd boost + .\b2 headers + + - name: user-config + run: | echo "using darwin : ios_sim : clang++ : -Wno-deprecated-declarations \"-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk\" -mios-simulator-version-min=7 @@ -141,4 +151,4 @@ jobs: - name: build library run: | - b2 -l400 cxxstd=14 target-os=iphone darwin-ios darwin-ios_sim address-model=64 link=static + BOOST_ROOT=boost b2 -l400 cxxstd=14 target-os=iphone darwin-ios darwin-ios_sim address-model=64 link=static