diff --git a/.github/workflows/build-and-test.yaml b/.github/workflows/build-and-test.yaml index 4b5b40b..6438e50 100644 --- a/.github/workflows/build-and-test.yaml +++ b/.github/workflows/build-and-test.yaml @@ -45,6 +45,8 @@ jobs: run: ctest -R "benchmark$" --test-dir "cmake-build" || exit $? build-mac: name: Build ${{ matrix.os }} ${{ matrix.build_type }} with ${{ matrix.preset }} + env: + VCPKG_INSTALLATION_ROOT: "$HOME/vcpkg" strategy: matrix: os: [macos-14] @@ -63,8 +65,16 @@ jobs: - name: Install system dependencies run: | brew install ninja || exit $? - brew install gcc@12 || exit $? brew install pkg-config || exit $? + brew install autoconf || exit $? + brew install autoconf-archive || exit $? + brew install automake || exit $? + brew install make || exit $? + brew install libtool || exit $? + - name: Get vcpkg + run: | + git clone https://github.com/microsoft/vcpkg "$VCPKG_INSTALLATION_ROOT" + "$VCPKG_INSTALLATION_ROOT/bootstrap-vcpkg.sh" - name: Configure run: | cmake -S . -B cmake-build --preset ${{ matrix.preset }} \