Cleaning up the windows build

This commit is contained in:
AnonymusRaccoon
2020-02-06 15:52:11 +01:00
parent 9da1698b0b
commit b82249b0c2
+7 -1
View File
@@ -22,8 +22,14 @@ jobs:
cmake .. -G "MinGW Makefiles" -DCMAKE_SH="CMAKE_SH-NOTFOUND" -DGITBUILD=true
- name: Build with Makefile
run: mingw32-make -C build ComSquare
- name: Clean up
run: |
Set-Location build
Remove-Item -Recurse -Path * -Exclude ComSquare.exe,bin/*
- name: Copy shared libs
run: Copy-Item -Path 'C:\Program Files\Git\mingw64\bin\*.dll' -Destination build
run: |
Copy-Item -Path build\bin\*.dll -Destination build
Copy-Item -Path 'C:\Program Files\Git\mingw64\bin\*.dll' -Destination build
- name: Archive production artifact
uses: actions/upload-artifact@v1
with: