From f1304c00b1cff23eb39358242362d3eab8a003c5 Mon Sep 17 00:00:00 2001 From: Turiiya <34311583+ttytm@users.noreply.github.com> Date: Mon, 11 Nov 2024 06:34:16 +0100 Subject: [PATCH] dl libcurl --- .github/workflows/windows.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index deece4f..350a04d 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -9,5 +9,11 @@ jobs: steps: - run: curl --version - run: curl https://httpbin.org --libcurl example.c - - run: gcc example.c -o example.exe && ./example.exe + - run: | + dl_archive=curl-8.11.0_1-win64-mingw.zip + curl -LO https://curl.se/windows/dl-8.11.0_1/$dl_archive + curl-8.11.0_1-win64-mingw.zip + powershell -command Expand-Archive -LiteralPath $dl_archive -DestinationPath . + ls curl-8.11.0_1-win64-mingw + - run: gcc -o example.exe example.c "curl-8.11.0_1-win64-mingw/bin/libcurl-x64.dll" && ./example.exe # - run: gcc -o example example.c "libcurl-dyn/bin/libcurl-x64.dll" -Ilibcurl/include