diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 849820c3..8c3eaf3b 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -50,12 +50,8 @@ jobs: - name: Build run: | - #export CMAKE_PREFIX_PATH=${{github.workspace}}/local:$CMAKE_PREFIX_PATH - pwd - echo "${{github.workspace}}" - mkdir ${{github.workspace}}/build - cd ${{github.workspace}}/build - cmake .. --fresh -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/local -Ddompi=OFF -Dopenmp=OFF -Ddocs=ON -Donnxrt=ON + mkdir build && cd build + cmake .. --fresh -DCMAKE_INSTALL_PREFIX=${PWD}/../local -Ddompi=OFF -Dopenmp=OFF -Ddocs=ON -Donnxrt=ON make -j$(nproc --ignore 1) make -j$(nproc --ignore 1) install