-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of https://github.com/boostorg/gil into develop
- Loading branch information
Showing
132 changed files
with
8,264 additions
and
646 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
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: 'Get Docs Prerequisites' | ||
description: 'Downloads all the necessary packages for building documentation' | ||
runs: | ||
using: composite | ||
steps: | ||
- run: sudo apt-get install doxygen python3 python3-pip python3-setuptools python3-sphinx | ||
shell: bash |
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,13 @@ | ||
name: 'Generate Doc' | ||
description: 'Runs b2 on lib/gil/doc to generate documentation' | ||
runs: | ||
using: composite | ||
steps: | ||
- run: | | ||
echo "using doxygen ;" > ~/user-config.jam | ||
cd ../boost-root/libs | ||
../b2 gil/doc | ||
cd gil | ||
chmod +x $GITHUB_WORKSPACE/.github/actions/generate-doc/docs-config.sh | ||
$GITHUB_WORKSPACE/.github/actions/generate-doc/docs-config.sh | ||
shell: bash |
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,32 @@ | ||
#!/bin/bash | ||
set -e # Exit with Non Zero exit Code | ||
|
||
mkdir temp-doc | ||
cd temp-doc | ||
|
||
git init | ||
|
||
|
||
git remote add upstream "https://github.com/boostorg/gil.git" | ||
|
||
git fetch upstream | ||
git switch gh-pages | ||
|
||
|
||
if [ "${GITHUB_REF##*/}" = develop ]; then | ||
# Only updates develop directory and keeps others intact | ||
rm -r develop | ||
mkdir -p develop/doc | ||
cp ../index.html develop/ | ||
cp ../doc/index.html develop/doc | ||
cp -a ../doc/html develop/doc/ | ||
else | ||
# main branch | ||
rm index.html | ||
rm -r html | ||
cp ../doc/index.html . | ||
cp -r ../doc/html . | ||
fi | ||
|
||
# Remove version control | ||
rm -rf .git |
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,17 @@ | ||
name: 'Setup-Boost' | ||
description: 'Downloads and sets up the necessary dependencies of Boost' | ||
runs: | ||
using: composite | ||
steps: | ||
- run: | | ||
REF=${GITHUB_BASE_REF:-$GITHUB_REF} | ||
BOOST_BRANCH=develop && [ "$REF" == "master" ] && BOOST_BRANCH=master || true | ||
cd .. | ||
git clone -b $BOOST_BRANCH --depth 1 https://github.com/boostorg/boost.git boost-root | ||
cd boost-root | ||
cp -r $GITHUB_WORKSPACE/* libs/gil | ||
git submodule update --init tools/boostdep | ||
python tools/boostdep/depinst/depinst.py --git_args "--jobs 3" gil | ||
./bootstrap.sh | ||
./b2 -d0 headers | ||
shell: bash |
Oops, something went wrong.