Skip to content

Commit

Permalink
CI: Fix Windows Clang (clang-cl) build
Browse files Browse the repository at this point in the history
  • Loading branch information
btzy committed Jan 1, 2025
1 parent 388549a commit b4d91f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Downgrade CMake # force downgrade CMake as later versions try to use the C++ standard flag to compile C programs, which cause an error.
run: choco install cmake --version 3.30.6 --allow-downgrade
- name: Configure
run: mkdir build && mkdir install && cd build && cmake -DCMAKE_INSTALL_PREFIX="../install" -T ClangCL -DNFD_BUILD_TESTS=ON ..
- name: Build
Expand Down

0 comments on commit b4d91f1

Please sign in to comment.