Skip to content

Commit 0d80e99

Browse files
fix stupid msys2 toolchian (#203)
1 parent 299a5cf commit 0d80e99

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,6 @@ jobs:
250250
run: |
251251
cp .\kernel\include\preset.h .\tools\
252252
cd tools
253-
(Get-Content -Path "Makefile") -replace '\$\(CC\)', " x86_64-pc-msys-gcc.exe" | Set-Content -Path "Makefile"
254-
(Get-Content -Path "Makefile") -replace '\${CC}', "x86_64-pc-msys-gcc.exe" | Set-Content -Path "Makefile"
255253
- name: build
256254
shell: cmd
257255
run: |
@@ -260,15 +258,15 @@ jobs:
260258
- name: Showinfo
261259
shell: cmd
262260
run: |
263-
ls C:\a\_temp\
261+
ls D:\a\_temp\
264262
265263
- name: Copyfile2
266264
shell: pwsh
267265
run: |
268266
mkdir .\win
269267
cp .\tools\kptools.exe .\win\kptools-msys2.exe
270-
cp C:\a\_temp\msys64\usr\bin\msys-2.0.dll .\win
271-
cp C:\a\_temp\msys64\usr\bin\msys-z.dll .\win
268+
cp D:\a\_temp\msys64\usr\bin\msys-2.0.dll .\win
269+
cp D:\a\_temp\msys64\usr\bin\msys-z.dll .\win
272270
7z a kptools-msys2-win .\win
273271
- name: Release
274272
uses: ncipollo/[email protected]

0 commit comments

Comments
 (0)