Allow dyn-rank-view in serial trsv #2388
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: github-DOCS | |
on: | |
pull_request: | |
branches: | |
- master | |
- develop | |
permissions: | |
contents: none | |
jobs: | |
docs-check: | |
runs-on: [macos-latest] | |
steps: | |
- name: checkout_kokkos_kernels | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
path: kokkos-kernels | |
- name: Install Dependencies | |
run: | | |
brew install doxygen | |
python3 -m venv .venv | |
. .venv/bin/activate | |
pip install -r kokkos-kernels/.github/workflows/requirements_docs.txt | |
sphinx-build --version | |
doxygen --version | |
- name: checkout_kokkos | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
repository: kokkos/kokkos | |
ref: 4.5.00 | |
path: kokkos | |
- name: configure_kokkos | |
run: | | |
mkdir -p kokkos/{build,install} | |
cd kokkos/build | |
cmake \ | |
-DCMAKE_CXX_FLAGS="-Werror" \ | |
-DCMAKE_CXX_STANDARD=17 \ | |
-DCMAKE_INSTALL_PREFIX=$PWD/../install \ | |
-DKokkos_ENABLE_COMPILER_WARNINGS=ON \ | |
-DKokkos_ENABLE_TESTS=OFF \ | |
-DKokkos_ENABLE_DEPRECATED_CODE_4=OFF \ | |
.. | |
- name: build_and_install_kokkos | |
working-directory: kokkos/build | |
run: make -j2 install | |
# sphinx needs to be available at configure time for the target to be generated | |
- name: configure_kokkos_kernels | |
run: | | |
. .venv/bin/activate | |
mkdir -p kokkos-kernels/{build,install} | |
cd kokkos-kernels/build | |
cmake \ | |
-DKokkos_DIR=$PWD/../../kokkos/install/lib/cmake/Kokkos \ | |
-DCMAKE_INSTALL_PREFIX=$PWD/../install \ | |
-DKokkosKernels_ENABLE_DOCS=ON \ | |
.. | |
- name: build_kokkos_kernels_doxygen | |
working-directory: kokkos-kernels/build | |
run: | | |
echo "Redirecting full output to doxygen.out..." | |
make Doxygen > doxygen.out 2>&1 || true | |
error_ret=$(grep 'Error' doxygen.out | head -c 1) || true | |
if [ ! -z $error_ret ]; then | |
echo "---- BEGIN: Summary of errors ---- " | |
cat doxygen.out | grep -i 'error:' || true | |
echo "---- END: Summary of errors ---- " | |
echo | |
echo | |
echo "---- BEGIN: Summary of warnings ---- " | |
cat doxygen.out | grep -i 'warning:' || true | |
echo "---- END: Summary of warnings ---- " | |
exit 1 | |
fi | |
- name: build_kokkos_kernels_sphinx | |
run: | | |
. .venv/bin/activate | |
cd kokkos-kernels/build | |
make Sphinx |