Skip to content

Commit

Permalink
[CI] Install msvc build tools
Browse files Browse the repository at this point in the history
  • Loading branch information
riidefi committed Jun 15, 2024
1 parent 011eede commit d072ee8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: ilammy/msvc-dev-cmd@v1
- name: SetupRust
uses: dtolnay/rust-toolchain@stable
- name: Install LLVM
Expand All @@ -39,7 +40,7 @@ jobs:
# Note the current convention is to use the -S and -B options here to specify source
# and build directories, but this is only available with CMake 3.13 and higher.
# The CMake binaries on the Github Actions machines are (as of this writing) 3.12
run: cmake $GITHUB_WORKSPACE -GNinja -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DRust_CARGO_TARGET=x86_64-pc-windows-msvc -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl
run: cmake $GITHUB_WORKSPACE -GNinja -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DRust_CARGO_TARGET=x86_64-pc-windows-msvc -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++

- name: Build
working-directory: ${{github.workspace}}/build
Expand Down

0 comments on commit d072ee8

Please sign in to comment.