Fix Docs Workflow (#504)
* Update docs.yml * Update docs.yml * Update docs.yml
This commit is contained in:
@@ -43,7 +43,8 @@ jobs:
|
||||
- name: Setup Pages
|
||||
uses: actions/configure-pages@v5
|
||||
- name: Create Docs Directory
|
||||
run:
|
||||
run: |
|
||||
git config --global --add safe.directory '*'
|
||||
mkdir -p docs/_doxygen/rocprofiler-sdk
|
||||
mkdir -p docs/_doxygen/roctx
|
||||
- name: Install documentation dependencies
|
||||
@@ -61,6 +62,7 @@ jobs:
|
||||
conda activate rocprofiler-docs
|
||||
python3 -m pip install sphinx
|
||||
python3 -m pip install doxysphinx rocm-docs-core
|
||||
git config --global --add safe.directory '*'
|
||||
../scripts/update-docs.sh
|
||||
- name: Upload artifact
|
||||
if: ${{ github.event_name == 'workflow_dispatch' }}
|
||||
@@ -102,7 +104,8 @@ jobs:
|
||||
with:
|
||||
submodules: true
|
||||
- name: Create Docs Directory
|
||||
run:
|
||||
run: |
|
||||
git config --global --add safe.directory '*'
|
||||
mkdir -p source/docs/_doxygen/rocprofiler-sdk
|
||||
mkdir -p source/docs/_doxygen/roctx
|
||||
- name: Install requirements
|
||||
@@ -126,8 +129,8 @@ jobs:
|
||||
-DCPACK_GENERATOR='DEB;RPM;TGZ'
|
||||
-DCPACK_PACKAGING_INSTALL_PREFIX="$(realpath /opt/rocm)"
|
||||
-DPython3_EXECUTABLE=$(which python3)
|
||||
. &&
|
||||
cmake --build build --target docs --parallel 4 &&
|
||||
cmake --build build --target all --parallel 12 &&
|
||||
sudo cmake --build build --target install --parallel 12 &&
|
||||
.;
|
||||
cmake --build build --target docs --parallel 4;
|
||||
cmake --build build --target all --parallel 12;
|
||||
sudo cmake --build build --target install --parallel 12;
|
||||
cmake --build build --target package --parallel 12
|
||||
|
||||
Reference in New Issue
Block a user