forked from nickbnf/glogg
-
-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use same version of boost for all CI builds
- Loading branch information
Showing
4 changed files
with
67 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: "Download boost headers" | ||
description: "Downloads boost headers" | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Install Boost | ||
shell: bash | ||
run: | | ||
if [ "$OS" == "Windows_NT" ]; then | ||
# fix up paths to be forward slashes consistently | ||
BOOST_ROOT=$(echo $BOOST_ROOT | sed 's/\\/\//g') | ||
fi | ||
mkdir -p $BOOST_ROOT | ||
curl --progress-bar --location --output $BOOST_ROOT/download.tar.bz2 $BOOST_URL | ||
7z -o$BOOST_ROOT x $BOOST_ROOT/download.tar.bz2 -y -bd | ||
7z -o$BOOST_ROOT x $BOOST_ROOT/download.tar -y -bd | ||
cd $BOOST_ROOT && cp -r boost_*/* . | ||
rm -rf boost_*/* download.tar.bz2 download.tar | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: "Prepare boost env vars" | ||
description: "Set boost url and target location" | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Set boost env vars | ||
shell: sh | ||
run: | | ||
echo "BOOST_ROOT=${{github.workspace}}/3rdparty/boost" >> $GITHUB_ENV | ||
echo "BOOST_URL=https://sourceforge.net/projects/boost/files/boost/1.75.0/boost_1_75_0.tar.bz2/download" >> $GITHUB_ENV | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters