File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -10,15 +10,12 @@ jobs:
10
10
- uses : actions/checkout@v2
11
11
with :
12
12
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
22
19
- name : configure
23
20
run : cmake -Bbuild -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON
24
21
- name : build
You can’t perform that action at this time.
0 commit comments