Skip to content

Commit

Permalink
Update Win32.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
caibinwav123456 authored Nov 6, 2021
1 parent 8046e1d commit 5c222f0
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/Win32.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,21 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Build
- name: Build x86
working-directory: ${{env.GITHUB_WORKSPACE}}
run: $env:PATH="$env:PATH;C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin";msbuild -m -p:Configuration=Release .\IPCIF\src\project\win\win32.sln
run: $env:PATH="$env:PATH;C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin";msbuild -m -p:Configuration=Release -p:Platform=Win32 .\IPCIF\src\project\win\win32.sln

- name: Setup Install
- name: Build x64
working-directory: ${{env.GITHUB_WORKSPACE}}
run: cd .\IPCIF\bin;ren Release ASTBin;..\..\misc\tools\zip\zip -r -S ASTBin.zip ASTBin;rd -recurse ASTBin
run: $env:PATH="$env:PATH;C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin";msbuild -m -p:Configuration=Release -p:Platform=x64 .\IPCIF\src\project\win\win32.sln

- name: Setup Install x86
working-directory: ${{env.GITHUB_WORKSPACE}}
run: cd .\IPCIF\bin;ren Release ASTBin_x86;..\..\misc\tools\zip\zip -r -S ASTBin_x86.zip ASTBin_x86;rd -recurse ASTBin_x86

- name: Setup Install x64
working-directory: ${{env.GITHUB_WORKSPACE}}
run: cd .\IPCIF\bin\x64;ren Release ASTBin_x64;..\..\..\misc\tools\zip\zip -r -S ASTBin_x64.zip ASTBin_x64;cd ..;move x64\ASTBin_x64.zip .\;rd -recurse x64

- uses: actions/upload-artifact@v2
with:
Expand Down

0 comments on commit 5c222f0

Please sign in to comment.