mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Add test workflow
This commit is contained in:
parent
e59e2dfe8c
commit
418179f404
1 changed files with 34 additions and 0 deletions
34
.github/workflows/test.yml
vendored
Normal file
34
.github/workflows/test.yml
vendored
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
name: Create Release
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
TestDocuCreation:
|
||||
name: TestDocuCreation
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
DEP_DIR: ${{github.workspace}}/dependencies
|
||||
BOOST_VERSION: 1.71.0
|
||||
BOOST_ROOT: boost-root
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
repository: boostorg/boost
|
||||
ref: boost-${{env.BOOST_VERSION}}
|
||||
path: ${{env.BOOST_ROOT}}
|
||||
fetch-depth: 1
|
||||
- name: Prepare boost
|
||||
working-directory: ${{env.BOOST_ROOT}}
|
||||
run: |
|
||||
git submodule update --init --jobs 3 tools/boostdep tools/quickbook tools/boostbook
|
||||
python tools/boostdep/depinst/depinst.py --exclude test --git_args '--jobs 3' ../tools/quickbook
|
||||
./bootstrap.sh || (cat bootstrap.log && false)
|
||||
- name: Install dependencies
|
||||
run: sudo apt-get install xsltproc docbook-xsl docbook-xml
|
||||
- name: Create documentation
|
||||
run: scripts/build_doc.sh
|
||||
- run: tar -czf doc.tar.gz html
|
||||
working-directory: doc
|
||||
Loading…
Add table
Add a link
Reference in a new issue