summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2020-08-26 23:35:25 +0800
committerruki <[email protected]>2020-08-26 23:35:25 +0800
commitb9bb453e0f612006695954eaa01f6ef93635eb16 (patch)
treefcb7439e43aafd04cc0dfc9c92244229e5d8c94b
parent54b41f1e3c9760b4788851744b2ccdcdf31fce31 (diff)
fix ci for win-tinyc
-rw-r--r--.github/workflows/windows.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index af9f98ce9..e231ee392 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -89,9 +89,11 @@ jobs:
} else {
Invoke-WebRequest "http://download.savannah.gnu.org/releases/tinycc/tcc-0.9.27-win32-bin.zip" -UseBasicParsing -OutFile .\tcc.zip
}
- Expand-Archive ./tcc.zip -DestinationPath ./winenv/tcc
+ Expand-Archive ./tcc.zip -DestinationPath ./tcc
+ Copy-Item ./tcc/tcc ./winenv/tcc -Recurse
Invoke-WebRequest "http://download.savannah.gnu.org/releases/tinycc/winapi-full-for-0.9.27.zip" -UseBasicParsing -OutFile .\winapi.zip
- Expand-Archive ./winapi.zip -DestinationPath ./winenv/tcc/winapi
+ Expand-Archive ./winapi.zip -DestinationPath ./winapi
+ Copy-Item ./winapi/winapi-full-for-0.9.27 ./winenv/tcc/winapi
./nsis/makensis.exe /DMAJOR=$($version.ProductMajorPart) /DMINOR=$($version.ProductMinorPart) /DALTER=$($version.ProductBuildPart) /DBUILD=$($($version.ProductVersion -split '\+')[1]) /D${{ matrix.arch }} .\scripts\installer.nsi
Copy-Item scripts/xmake.exe ./artifacts/${{env.RELEASE_NAME}}/xmake-tinyc.exe
Remove-Item ./winenv/tcc -Recurse