mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-06-14 16:27:14 +02:00
Compare commits
3 Commits
2025.4.22
...
enable_tes
Author | SHA1 | Date | |
---|---|---|---|
f665b493b1 | |||
fd4175ecb2 | |||
3970320635 |
14
.github/workflows/build_docs.yml
vendored
14
.github/workflows/build_docs.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: Build the package using cmake then documentation
|
name: Build package and docs, test, deploy if on main
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
@ -36,16 +36,22 @@ jobs:
|
|||||||
channels: conda-forge
|
channels: conda-forge
|
||||||
|
|
||||||
- name: Prepare
|
- name: Prepare
|
||||||
run: conda install doxygen sphinx=7.1.2 breathe pybind11 sphinx_rtd_theme furo nlohmann_json zeromq fmt numpy
|
run: conda install doxygen sphinx=7.1.2 breathe pybind11 sphinx_rtd_theme furo nlohmann_json zeromq fmt numpy catch2
|
||||||
|
|
||||||
- name: Build library
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake .. -DAARE_SYSTEM_LIBRARIES=ON -DAARE_DOCS=ON
|
cmake .. -DAARE_SYSTEM_LIBRARIES=ON -DAARE_TESTS=ON -DAARE_DOCS=ON
|
||||||
make -j 2
|
make -j 2
|
||||||
make docs
|
make docs
|
||||||
|
|
||||||
|
- name: Test
|
||||||
|
working-directory: ${{github.workspace}}/build
|
||||||
|
# Execute tests defined by the CMake configuration.
|
||||||
|
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
|
||||||
|
run: ctest -C ${{env.BUILD_TYPE}} -j1
|
||||||
|
|
||||||
- name: Upload static files as artifact
|
- name: Upload static files as artifact
|
||||||
id: deployment
|
id: deployment
|
||||||
uses: actions/upload-pages-artifact@v3
|
uses: actions/upload-pages-artifact@v3
|
||||||
|
Reference in New Issue
Block a user