diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9da98e6..8117d85 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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', @@ -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: |