Skip to content

Commit e7e93f6

Browse files
use boost 1.72.0
1 parent 4ae0712 commit e7e93f6

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,12 @@ jobs:
1010
- uses: actions/checkout@v2
1111
with:
1212
submodules: recursive
13-
- name: install Boost on Ubuntu
14-
if: matrix.os == 'ubuntu-latest'
15-
run: sudo apt-get install libboost-all-dev
16-
- name: Set Boost on Windows
17-
if: matrix.os == 'windows-latest'
18-
run: echo ("BOOST_ROOT=" + $env:BOOST_ROOT_1_72_0) >> $env:GITHUB_ENV
19-
- name: install Boost on MacOS
20-
if: matrix.os == 'macos-latest'
21-
run: brew install boost
13+
- name: Install Boost
14+
if: ${{ matrix.os != 'windows-latest' }}
15+
run: curl -L https://dl.bintray.com/boostorg/release/1.72.0/source/boost_1_72_0.tar.gz | tar zx && echo "BOOST_ROOT=$PWD/boost_1_72_0" > $GITHUB_ENV
16+
- name: Set Boost Environment
17+
if: ${{ matrix.os == 'windows-latest' }}
18+
run: echo ("BOOST_ROOT=" + boost_1_72_0) >> $env:GITHUB_ENV
2219
- name: configure
2320
run: cmake -Bbuild -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON
2421
- name: build

0 commit comments

Comments
 (0)