Skip to content

Commit

Permalink
vars
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed Nov 11, 2024
1 parent f4923c0 commit b286895
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ jobs:
- run: curl --version
- run: curl https://httpbin.org --libcurl example.c
- 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" curl-8.11.0_1-win64-mingw/include && ./example.exe
$dl_file="curl-8.11.0_1-win64-mingw"
curl -LO https://curl.se/windows/dl-8.11.0_1/$dl_file.zip
powershell -command Expand-Archive -LiteralPath $dl_archive.zip -DestinationPath .
ls $dl_file
- run: gcc -o example.exe example.c "$dl_file/bin/libcurl-x64.dll" $dl_file/include && ./example.exe
# - run: gcc -o example example.c "libcurl-dyn/bin/libcurl-x64.dll" -Ilibcurl/include

0 comments on commit b286895

Please sign in to comment.