From 3137115b1561627b3aef44461884d160766dd484 Mon Sep 17 00:00:00 2001 From: Ali Aghaeifar <11705505+aghaeifar@users.noreply.github.com> Date: Wed, 13 Mar 2024 09:11:32 +0100 Subject: [PATCH] Update CMake.yml --- .github/workflows/CMake.yml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/.github/workflows/CMake.yml b/.github/workflows/CMake.yml index a0bf97b..e9c2419 100644 --- a/.github/workflows/CMake.yml +++ b/.github/workflows/CMake.yml @@ -22,16 +22,11 @@ jobs: id: cuda-toolkit with: cuda: '11.7.0' - - - name: Build Boost - id: boost - uses: egor-tensin/build-boost@v1 - with: - version: 1.74.0 - libraries: program_options log log_setup - platform: x64 - configuration: Release - + + - name: boost install + id: boost-install + run: sudo apt-get update && sudo apt-get install -yq libboost-all-dev + - name: Show paths run: | printf 'Boost has been unpacked to: %s\n' '${{ steps.boost.outputs.root }}' @@ -46,7 +41,7 @@ jobs: - run: mkdir ${{github.workspace}}/build - name: Configure CMake - run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -D "BOOST_LIBRARYDIR=${{ steps.boost.outputs.librarydir }}" -DBoost_INCLUDE_DIR=${{ steps.boost.outputs.root }}/include -DBOOST_ROOT=${{steps.boost.outputs.root}} + run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} - name: Build # Build your program with the given configuration