diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index ad3837e..031f811 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -22,10 +22,14 @@ jobs: with: submodules: true + - name: Install Dependencies + run: sudo apt-get update && sudo apt-get install -yq libboost-dev + - name: Build # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type run: | + cd ${{github.workspace}}/ggml cmake -B ${{github.workspace}}/ggml/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -D CMAKE_EXE_LINKER_FLAGS="-static" cd ${{github.workspace}}/ggml/build