Skip to content

Commit

Permalink
checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed Nov 11, 2024
1 parent 55b9119 commit 51e96fb
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ jobs:
setup:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- run: curl --version
- run: curl https://httpbin.org --libcurl example.c
- run: |
curl -Lo libcurl.zip https://curl.se/windows/dl-8.11.0_1/curl-8.11.0_1-win64-mingw.zip
powershell -command Expand-Archive -Path libcurl.zip -DestinationPath .
mv curl-8.11.0_1-win64-mingw libcurl
ls libcurl
ls -Recurse libcurl
- run: gcc -o example example.c "libcurl/bin/libcurl-x64.dll" -Ilibcurl/include
- run: |
# ls libcurl/include
gcc -o example.exe example.c "libcurl/bin/libcurl-x64.dll" -Ilibcurl/include && ./example.exe
ls
example.exe

0 comments on commit 51e96fb

Please sign in to comment.