Skip to content

Commit 6488646

Browse files
committed
Fixed windows Ci run
1 parent f709997 commit 6488646

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,14 +232,15 @@ jobs:
232232
- uses: actions/setup-python@v6
233233
- name: Install meson
234234
run: pip install meson
235+
- name: Setup MSVC environment
236+
uses: ilammy/msvc-dev-cmd@v1
235237
- name: Checkout
236238
uses: actions/checkout@v5
237239
- name: "Build & Test"
238240
env:
239241
CMAKE_GENERATOR: "Visual Studio 17 2022"
240242
CPR_BUILD_TESTS: ON
241243
CPR_BUILD_TESTS_SSL: OFF
242-
CURL_USE_LIBPSL: OFF
243244
uses: ashutoshvarma/action-cmake-build@master
244245
with:
245246
build-dir: ${{ github.workspace }}/build
@@ -254,6 +255,8 @@ jobs:
254255
- uses: actions/setup-python@v6
255256
- name: Install meson
256257
run: pip install meson
258+
- name: Setup MSVC environment
259+
uses: ilammy/msvc-dev-cmd@v1
257260
- name: Install OpenSSL
258261
run: choco install openssl -y
259262
- name: Checkout
@@ -264,7 +267,6 @@ jobs:
264267
CPR_BUILD_TESTS: ON
265268
CPR_BUILD_TESTS_SSL: ON
266269
CPR_FORCE_OPENSSL_BACKEND: ON
267-
CURL_USE_LIBPSL: OFF
268270
uses: ashutoshvarma/action-cmake-build@master
269271
with:
270272
build-dir: ${{ github.workspace }}/build

0 commit comments

Comments
 (0)