add step to install boot lib

This commit is contained in:
James Ravenscroft 2023-05-28 15:40:38 +01:00
parent ecfd61d213
commit 32ec80c628

View File

@ -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