Sync from upstream. #121
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
name: Modular Release | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- modular | |
paths-ignore: | |
- ".github/workflows/ci.yml" | |
- ".github/workflows/modular-check-libs-docs.yml" | |
- ".github/workflows/modular-check-libs.yml" | |
jobs: | |
release: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- name: Linux | |
os: ubuntu-latest | |
runs-on: ${{matrix.os}} | |
defaults: | |
run: | |
working-directory: ${{github.workspace}}/boostroot | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@main | |
with: { submodules: true, path: "boostroot" } | |
- name: "Setup" | |
run: | | |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y | |
sudo apt-get -o Acquire::Retries=3 update -y | |
sudo apt-get -o Acquire::Retries=3 -y install \ | |
asciidoctor \ | |
bison \ | |
cmake \ | |
curl \ | |
default-jre-headless \ | |
docbook \ | |
docbook-xml \ | |
docbook-xsl \ | |
docutils-common \ | |
docutils-doc \ | |
dos2unix \ | |
doxygen \ | |
flex \ | |
ghostscript \ | |
graphviz \ | |
libsaxonhe-java \ | |
python3-myst-parser \ | |
p7zip-full \ | |
python3-dev \ | |
ruby \ | |
texlive \ | |
texlive-latex-extra \ | |
unzip \ | |
xsltproc | |
pip3 install future | |
wget "https://raw.githubusercontent.com/boostorg/release-tools/develop/ci_boost_common.py" -P ${{github.workspace}} | |
wget "https://raw.githubusercontent.com/boostorg/release-tools/develop/ci_boost_release.py" -P ${{github.workspace}} | |
sed -i "s/, libdoc_branch/, 'develop'/" ${{github.workspace}}/ci_boost_release.py | |
python3 ${{github.workspace}}/ci_boost_release.py install | |
pip3 install --user --upgrade Sphinx==5.2.1 | |
sudo gem install asciidoctor asciidoctor-diagram | |
- name: "Release" | |
run: | | |
python3 ${{github.workspace}}/ci_boost_release.py checkout_post | |
EOL=LF python3 ${{github.workspace}}/ci_boost_release.py test_pre | |
EOL=LF python3 ${{github.workspace}}/ci_boost_release.py test_override |