Skip to content

Commit

Permalink
XCopy alt
Browse files Browse the repository at this point in the history
  • Loading branch information
SenpaiSimon committed May 20, 2024
1 parent 8d814a0 commit 3012b8e
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,9 @@ jobs:
curllibCommand: >
curl -o curl.zip https://curl.se/windows/dl-8.7.1_7/curl-8.7.1_7-win64-mingw.zip &&
mkdir curlLib && tar -xf curl.zip -C curlLib --strip-components=1 &&
mv curlLib\bin\libcurl-x64.dll 'curlLib\bin\libcurl-d.dll' &&
mv curlLib\bin\libcurl-x64.def 'curlLib\bin\libcurl-d.def' &&
mv curlLib\lib\* 'C:\mingw64\lib\' &&
mv curlLib\bin\* 'C:\mingw64\bin\' &&
mv curlLib\include\* 'C:\mingw64\include\' &&
mv curlLib\dep\* 'C:\mingw64\dep\'
mv .\curlLib\bin\libcurl*.dll 'curlLib\bin\libcurl.dll' &&
xcopy /s /y .\curlLib\ 'C:\mingw64\' &&
xcopy /s /y .\curlLib\ 'C:/Program Files/Git/mingw64/'
- os: ubuntu-latest
c_compiler: gcc
cpp_compiler: g++
Expand All @@ -64,11 +61,6 @@ jobs:
- name: Install Deps
run: ${{ matrix.curllibCommand }}

- name: Choco Install Deps
uses: crazy-max/ghaction-chocolatey@v3.0.0
with:
args: install curl

- name: Init Submodules
run: git submodule update --init --recursive
Expand Down

0 comments on commit 3012b8e

Please sign in to comment.