Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jimporter committed May 2, 2024
1 parent 7d0055a commit 152d8d1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ jobs:
boost-version: '1.80.0'}

# macOS builds
- {os: macos-latest, compiler: clang}
# FIXME: Remove -Wno-deprecated flag.
- {os: macos-latest, compiler: clang, flags: '-Wno-deprecated'}

# C++20 builds
- {os: ubuntu-latest, compiler: gcc, version: '13',
Expand Down Expand Up @@ -108,7 +109,9 @@ jobs:
- name: Install macOS dependencies
if: startsWith(matrix.os, 'macos-')
run: |
brew install ninja pkg-config boost
brew install boost ninja pkg-config
echo "CPATH=/opt/homebrew/include" >> ${GITHUB_ENV}
echo "LIBRARY_PATH=/opt/homebrew/lib" >> ${GITHUB_ENV}
- name: Install Boost ${{ matrix.boost-version }} from source
if: "!startsWith(matrix.os, 'windows-') && matrix.boost-version"
run: |
Expand Down Expand Up @@ -170,7 +173,7 @@ jobs:
ninja install
popd
echo "PATH=${HOME}/bin:${PATH}" >> ${GITHUB_ENV}
echo "CPATH=${HOME}/include" >> ${GITHUB_ENV}
echo "CPATH=${HOME}/include:${CPATH}" >> ${GITHUB_ENV}
echo "PKG_CONFIG_PATH=${HOME}/lib/pkgconfig" >> ${GITHUB_ENV}
echo "CXXFLAGS=${COMMONFLAGS} ${{ matrix.flags }}" >> ${GITHUB_ENV}
- name: Build mettle (Windows)
Expand Down

0 comments on commit 152d8d1

Please sign in to comment.