Skip to content

Commit

Permalink
Disable macOS builds until Apple fixes their SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
mikucionisaau committed Apr 12, 2024
1 parent 0534605 commit bea8fa3
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,36 +95,36 @@ jobs:
- name: Test
run: (cd $BUILD_DIR ; ctest)

build-macos:
needs: [ format ]
strategy:
fail-fast: false
runs-on: macos-11
steps:
- uses: actions/checkout@v3
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '13.2.1'
- name: Get Home Brew dependencies
run: brew install -q cmake ninja bison libxml2 doctest
- name: Set environment variables
run: |
echo "BUILD_DIR=build-darwin" >> "$GITHUB_ENV"
echo "CTEST_OUTPUT_ON_FAILURE=1" >> "$GITHUB_ENV"
- name: Configure CMake build system
run: |
export PATH="/usr/local/bin:$PATH"
export PATH="/usr/local/opt/bison/bin:$PATH"
export LDFLAGS="-L/usr/local/opt/bison/lib $LDFLAGS"
export PKG_CONFIG_PATH="/usr/local/opt/libxml2/lib/pkgconfig"
export PATH="/usr/local/opt/libxml2/bin:$PATH"
export LDFLAGS="-L/usr/local/opt/libxml2/lib $LDFLAGS"
export CPPFLAGS="-I/usr/local/opt/libxml2/include $CPPFLAGS"
cmake -DCMAKE_BUILD_TYPE=Debug -DUBSAN=ON -DASAN=ON -B $BUILD_DIR -S . -G Ninja
- name: Build
run: cmake --build $BUILD_DIR
- name: Test
run: (cd $BUILD_DIR ; ctest)
# build-macos:
# needs: [ format ]
# strategy:
# fail-fast: false
# runs-on: macos-11
# steps:
# - uses: actions/checkout@v3
# - uses: maxim-lobanov/setup-xcode@v1
# with:
# xcode-version: '13.2.1'
# - name: Get Home Brew dependencies
# run: brew install -q cmake ninja bison libxml2 doctest
# - name: Set environment variables
# run: |
# echo "BUILD_DIR=build-darwin" >> "$GITHUB_ENV"
# echo "CTEST_OUTPUT_ON_FAILURE=1" >> "$GITHUB_ENV"
# - name: Configure CMake build system
# run: |
# export PATH="/usr/local/bin:$PATH"
# export PATH="/usr/local/opt/bison/bin:$PATH"
# export LDFLAGS="-L/usr/local/opt/bison/lib $LDFLAGS"
# export PKG_CONFIG_PATH="/usr/local/opt/libxml2/lib/pkgconfig"
# export PATH="/usr/local/opt/libxml2/bin:$PATH"
# export LDFLAGS="-L/usr/local/opt/libxml2/lib $LDFLAGS"
# export CPPFLAGS="-I/usr/local/opt/libxml2/include $CPPFLAGS"
# cmake -DCMAKE_BUILD_TYPE=Debug -DUBSAN=ON -DASAN=ON -B $BUILD_DIR -S . -G Ninja
# - name: Build
# run: cmake --build $BUILD_DIR
# - name: Test
# run: (cd $BUILD_DIR ; ctest)

# build-macos-brew-gcc10:
# needs: [ format ]
Expand Down

0 comments on commit bea8fa3

Please sign in to comment.