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