CI: Enable the mac-scons build
This commit is contained in:
36
.github/workflows/ci.yml
vendored
36
.github/workflows/ci.yml
vendored
@@ -44,24 +44,24 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
# macos-scons: {
|
||||
# runs-on: macos-10.15,
|
||||
# steps: [
|
||||
# {
|
||||
# name: checkout,
|
||||
# uses: actions/checkout@v2,
|
||||
# with: { submodules: true }
|
||||
# },
|
||||
# {
|
||||
# name: install dependencies,
|
||||
# run: brew install scons SFML Boost
|
||||
# },
|
||||
# {
|
||||
# name: build and unit test,
|
||||
# run: ./.github/workflows/scripts/mac/scons-build.sh
|
||||
# }
|
||||
# ]
|
||||
# },
|
||||
macos-scons: {
|
||||
runs-on: macos-10.15,
|
||||
steps: [
|
||||
{
|
||||
name: checkout,
|
||||
uses: actions/checkout@v2,
|
||||
with: { submodules: true }
|
||||
},
|
||||
{
|
||||
name: install dependencies,
|
||||
run: brew install scons SFML Boost
|
||||
},
|
||||
{
|
||||
name: build and unit test,
|
||||
run: ./.github/workflows/scripts/mac/scons-build.sh
|
||||
}
|
||||
]
|
||||
},
|
||||
win-vs32: {
|
||||
runs-on: windows-2019,
|
||||
steps: [
|
||||
|
1
.github/workflows/scripts/mac/scons-build.sh
vendored
1
.github/workflows/scripts/mac/scons-build.sh
vendored
@@ -2,5 +2,6 @@
|
||||
|
||||
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"
|
||||
|
Reference in New Issue
Block a user