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 ce3e711
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,14 @@ jobs:
build-windows-clang:

name: Windows latest - Clang, Static
name: Windows latest - Clangv2, Static
runs-on: windows-latest

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 causes 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 ce3e711

Please sign in to comment.