Add script to test examples with h5*cc pkg-config wrappers #1314
Workflow file for this run
This file contains hidden or 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: linkchecker | |
on: | |
workflow_dispatch: | |
push: | |
pull_request: | |
branches: [ develop ] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: get | |
uses: actions/checkout@v4 | |
- name: install | |
run: | | |
sudo apt install -y libunwind-dev | |
sudo apt install -y graphviz | |
sudo apt install -y --no-install-recommends doxygen | |
sudo apt install -y cmake | |
pip3 install linkchecker | |
- name: build | |
run: | | |
mkdir build | |
cd build | |
cmake -DHDF5_BUILD_DOC:BOOL=ON .. | |
make doxygen | |
- name: check | |
run: | | |
cd build/hdf5lib_docs/html | |
linkchecker --no-warnings --ignore-url=eigen.tuxfamily.org --ignore-url=/doxygen.css \ | |
--ignore-url=gnu.org --ignore-url=en.wikipedia.org \ | |
--ignore-url=help.hdfgroup.org --ignore-url=libpng.org \ | |
--ignore-url=my.cdash.org --ignore-url=www.oreilly.com \ | |
--ignore-url=preshing.com --ignore-url=semver.org \ | |
--ignore-url=sourceforge.net --ignore-url=www.youtube.com \ | |
--ignore-url=youtu.be \ | |
--check-extern --threads=2 ./index.html | |
#continue-on-error: true | |