Skip to content

Commit

Permalink
gha/macos: Switched LTO off for the Homebrew builds to avoid GCC bug …
Browse files Browse the repository at this point in the history
…#111635
  • Loading branch information
dragonmux committed Sep 29, 2023
1 parent f87ad30 commit d77249b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ jobs:
# rdar://FB11369327
name: '${{ matrix.os }} (homebrew, ${{ matrix.compiler }})'
runs-on: ${{ matrix.os }}
if: false
defaults:
run:
shell: bash
Expand Down Expand Up @@ -144,7 +143,8 @@ jobs:
meson --version
ninja --version
- name: Configure
run: meson setup build --prefix=$HOME/.local $BUILD_OPTS
# GCC on macOS cannot do LTO for now due to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111635
run: meson setup build --prefix=$HOME/.local -Db_lto=false $BUILD_OPTS
- name: Build
run: meson compile -C build
- name: Test
Expand All @@ -156,7 +156,7 @@ jobs:
# Codecov no longer parses gcov files automatically
run: |
rm -rf build
meson setup build --prefix=$HOME/.local -Db_coverage=true --buildtype=debug
meson setup build --prefix=$HOME/.local -Db_lto=false -Db_coverage=true --buildtype=debug $BUILD_OPTS
meson compile -C build
meson test -C build
ninja -C build coverage-xml
Expand Down

0 comments on commit d77249b

Please sign in to comment.