Refactor structure of top-level CMakeLists.txt #6
Workflow file for this run
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: website | |
on: | |
push: | |
branches-ignore: | |
- main | |
concurrency: | |
group: website-build-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- run: sudo apt update | |
- run: sudo apt-get install --yes doxygen doxygen-latex bundler | |
- run: > | |
cmake -S . -B ./build | |
-DCMAKE_BUILD_TYPE:STRING=Release | |
-DJSONBINPACK_CLI:BOOL=OFF | |
-DJSONBINPACK_RUNTIME:BOOL=ON | |
-DJSONBINPACK_COMPILER:BOOL=ON | |
-DJSONBINPACK_TESTS:BOOL=OFF | |
-DJSONBINPACK_WEBSITE:BOOL=ON | |
- run: cmake --build ./build --config Release --target bundler | |
# Jekyll is often flaky on GitHub Actions | |
- run: ./scripts/retry.sh cmake --build ./build --config Release --target jekyll | |
- run: cmake --build ./build --config Release --target doxygen |