Skip to content

Commit

Permalink
CI Action: Install boost from package manager, not source
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilMiller committed Jan 8, 2024
1 parent f8c49b8 commit d18923e
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/actions/ngen-build/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d18923e

Please sign in to comment.