mac try building boost with github action

This commit is contained in:
2024-07-02 11:54:53 -06:00
parent b0dd719502
commit dbd456af54
2 changed files with 15 additions and 4 deletions

View File

@@ -52,13 +52,24 @@
uses: actions/checkout@v2,
with: { submodules: true }
},
{
name: Build Boost,
id: boost,
uses: egor-tensin/build-boost@v1,
with: {
version: 1.85.0,
libraries: filesystem system,
platform: x64,
configuration: Release
}
},
{
name: install dependencies,
run: brew install scons SFML Boost
run: brew install scons SFML
},
{
name: build and unit test,
run: ./.github/workflows/scripts/mac/scons-build.sh
run: './.github/workflows/scripts/mac/scons-build.sh INCLUDEPATH="${{ steps.boost.outputs.root }}/include" LIBPATH="${{ steps.boost.outputs.librarydir }}"',
},
{
name: 'Tar files',

View File

@@ -4,4 +4,4 @@ export CC="$(brew --prefix llvm)/bin/clang"
export CXX="$(brew --prefix llvm)/bin/clang++"
export SDKROOT="$(xcrun --show-sdk-path)"
scons CXXFLAGS="-I/usr/local/opt/zlib/include" LINKFLAGS="-L/usr/local/opt/zlib/lib"
scons CXXFLAGS="-I/usr/local/opt/zlib/include" LINKFLAGS="-L/usr/local/opt/zlib/lib" $@