diff --git a/.github/workflows/build-commit.yml b/.github/workflows/build-commit.yml index 9d0eb3f..f310218 100644 --- a/.github/workflows/build-commit.yml +++ b/.github/workflows/build-commit.yml @@ -163,6 +163,24 @@ jobs: with: submodules: true + - name: Install boost + uses: MarkusJx/install-boost@v2.4.1 + id: install-boost + with: + # REQUIRED: Specify the required boost version + # A list of supported versions can be found here: + # https://github.com/MarkusJx/prebuilt-boost/blob/main/versions-manifest.json + boost_version: 1.73.0 + # OPTIONAL: Specify a custon install location + boost_install_dir: C:\boost + # OPTIONAL: Specify a platform version + platform_version: 2019 + # OPTIONAL: Specify a toolset + toolset: msvc + + # NOTE: If a boost version matching all requirements cannot be found, + # this build step will fail + - name: Download OpenBLAS id: get_openblas if: ${{ matrix.build == 'openblas' }} @@ -178,6 +196,8 @@ jobs: - name: Build id: cmake_build + env: + BOOST_ROOT: ${{ steps.install-boost.outputs.BOOST_ROOT }} run: | cd ${{github.workspace}}/ggml mkdir build