From d18923e5870904480c7d65e2099dddc32534c42d Mon Sep 17 00:00:00 2001 From: Phil Miller Date: Mon, 8 Jan 2024 09:30:07 -0800 Subject: [PATCH] CI Action: Install boost from package manager, not source --- .github/actions/ngen-build/action.yaml | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/.github/actions/ngen-build/action.yaml b/.github/actions/ngen-build/action.yaml index 72b73df94b..7a631534be 100644 --- a/.github/actions/ngen-build/action.yaml +++ b/.github/actions/ngen-build/action.yaml @@ -106,18 +106,15 @@ runs: run: git submodule update --init --recursive shell: bash - - name: Cache Boost Dependency - id: cache-boost-dep - uses: actions/cache@v3 - with: - path: boost_1_72_0 - key: unix-boost-dep - - - name: Get Boost Dependency - if: steps.cache-boost-dep.outputs.cache-hit != 'true' + - name: Install Boost run: | - curl -L -o boost_1_72_0.tar.bz2 https://sourceforge.net/projects/boost/files/boost/1.72.0/boost_1_72_0.tar.bz2/download - tar xjf boost_1_72_0.tar.bz2 + if [ ${{ runner.os }} == 'Linux' ] + then + sudo apt-get install -y libboost-dev + elif [ ${{ runner.os }} == 'macOS' ] + then + brew install boost + fi shell: bash - name: Cache Python Dependencies