File tree Expand file tree Collapse file tree 4 files changed +8
-5
lines changed
Expand file tree Collapse file tree 4 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 4242 elif [[ "${{ matrix.name }}" == Windows-x86_64* ]]; then
4343 cmake -B build -DCMAKE_BUILD_TYPE=${{ inputs.BUILD_TYPE }} -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache ${{ inputs.CMAKE_BUILD_ARGS }}
4444 else
45- echo "Unknown OS";
45+ cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=${{ inputs.BUILD_TYPE }} -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache ${{ inputs.CMAKE_BUILD_ARGS }}
4646 fi;
4747
4848 - name : build targets
Original file line number Diff line number Diff line change 1111
1212env :
1313 SCCACHE_GHA_ENABLED : " true"
14- matrix.name : " Linux-x86_64"
15- matrix.os : " ubuntu-latest"
1614
1715# When pushing new commits, cancel any workflows with the same name on that branch
1816concurrency :
@@ -21,7 +19,7 @@ concurrency:
2119
2220jobs :
2321 build_docs :
24- runs-on : ${{ matrix.os }}
22+ runs-on : ubuntu-latest
2523 steps :
2624 - name : get repo and submodules
2725 uses : actions/checkout@v4
3230 uses : ./.github/actions/setup
3331 - name : dependencies
3432 run : |
35- sudo apt-get install -y doxygen graphviz python3-sphinx python3-breathe python3- furo
33+ sudo apt-get install -y doxygen graphviz python3-sphinx python3-breathe furo
3634 - name : build
3735 uses : ./.github/actions/build
3836 with :
4846 # Deployment job
4947 deploy :
5048 needs : build_docs
49+ if : github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
5150 permissions :
5251 pages : write
5352 id-token : write
Original file line number Diff line number Diff line change 33![ build_test] ( https://github.com/anira-project/anira/actions/workflows/build_test.yml/badge.svg )
44![ build_benchmark] ( https://github.com/anira-project/anira/actions/workflows/build_benchmark.yml/badge.svg )
55![ build_examples] ( https://github.com/anira-project/anira/actions/workflows/build_examples.yml/badge.svg )
6+ ![ build_docs] ( https://github.com/anira-project/anira/actions/workflows/build_docs_and_deploy.yml/badge.svg )
67![ on_tag] ( https://github.com/anira-project/anira/actions/workflows/on_tag.yml/badge.svg )
78
89---
Original file line number Diff line number Diff line change @@ -17,6 +17,9 @@ anira Documentation
1717.. |build_examples | image :: https://github.com/anira-project/anira/actions/workflows/build_examples.yml/badge.svg
1818 :target: https://github.com/anira-project/anira/actions/workflows/build_examples.yml
1919
20+ .. |build_docs | image :: https://github.com/anira-project/anira/actions/workflows/build_docs_and_deploy.yml/badge.svg
21+ :target: https://github.com/anira-project/anira/actions/workflows/build_docs_and_deploy.yml
22+
2023.. |on_tag | image :: https://github.com/anira-project/anira/actions/workflows/on_tag.yml/badge.svg
2124 :target: https://github.com/anira-project/anira/actions/workflows/on_tag.yml
2225
You can’t perform that action at this time.
0 commit comments