Skip to content

Commit c5a3376

Browse files
committed
Load proper environment for Ninja on Windows
1 parent a811641 commit c5a3376

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
mkdir cbuild
3333
cmake -S . -B cbuild/ -DBUILD_EXAMPLES=TRUE -G Ninja
3434
cmake --build cbuild/
35-
35+
3636
- uses: ruby/setup-ruby@v1
3737
with:
3838
ruby-version: '3.1'
@@ -105,6 +105,9 @@ jobs:
105105
with:
106106
submodules: recursive
107107

108+
# Ensure we load the correct environment and compiler is available in $PATH
109+
- uses: ilammy/msvc-dev-cmd@v1
110+
108111
- name: CMake
109112
run: |
110113
# make a build directory (note: build is already used by Crashpad)

0 commit comments

Comments
 (0)