Skip to content

Commit

Permalink
Merge pull request oneapi-src#890 from aarongreig/aaron/properlyInsta…
Browse files Browse the repository at this point in the history
…llDoxygen

Install doxygen on windows runners, re-enable generating spec on windows
  • Loading branch information
aarongreig authored Sep 26, 2023
2 parents 755868c + 91ce81c commit 53bfb94
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,13 @@ jobs:
- name: Install prerequisites
run: python3 -m pip install -r third_party/requirements.txt

- name: Install doxygen
run: |
$WorkingDir = $PWD.Path
Invoke-WebRequest -Uri https://github.com/doxygen/doxygen/releases/download/Release_1_9_8/doxygen-1.9.8.windows.x64.bin.zip -OutFile "$WorkingDir\doxygen.zip"
Expand-Archive -Path "$WorkingDir\doxygen.zip"
Add-Content $env:GITHUB_PATH "$WorkingDir\doxygen"
- name: Configure CMake
run: >
cmake
Expand All @@ -123,10 +130,9 @@ jobs:
-DUR_BUILD_TESTS=ON
-DUR_FORMAT_CPP_STYLE=ON
# TODO: re-enable when check-generated is fixed for windows runners see #888
# - name: Generate source from spec, check for uncommitted diff
# if: matrix.os == 'windows-2022'
# run: cmake --build ${{github.workspace}}/build --target check-generated --config ${{matrix.build_type}}
- name: Generate source from spec, check for uncommitted diff
if: matrix.os == 'windows-2022'
run: cmake --build ${{github.workspace}}/build --target check-generated --config ${{matrix.build_type}}

- name: Build all
run: cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}} -j 2
Expand Down

0 comments on commit 53bfb94

Please sign in to comment.