Skip to content

Commit b01b6ee

Browse files
another try for boost installation
1 parent cdd6ec5 commit b01b6ee

File tree

2 files changed

+4
-21
lines changed

2 files changed

+4
-21
lines changed

.github/workflows/main.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,15 @@ jobs:
66
strategy:
77
matrix:
88
os: [ubuntu-latest, windows-latest, macos-latest]
9+
env:
10+
BOOST_ROOT: ${{github.workspace}}/boost_1_72_0
911
steps:
1012
- uses: actions/checkout@v2
1113
with:
1214
submodules: recursive
1315
- 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=" + $env:BOOST_ROOT_1_72_0) >> $env:GITHUB_ENV
16+
run: curl -L https://dl.bintray.com/boostorg/release/1.72.0/source/boost_1_72_0.tar.gz | tar zx
17+
shell: bash
1918
- name: configure
2019
run: cmake -Bbuild -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON
2120
- name: build

.travis/setenv.sh

-16
This file was deleted.

0 commit comments

Comments
 (0)