Skip to content

Commit

Permalink
✏️ use cmd to configure and build on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
tackyunicorn committed Nov 18, 2024
1 parent d1ecf6d commit 2b52af9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,21 @@ jobs:

- name: Configure build on Windows
if: ${{ matrix.os == 'windows-2022' }}
shell: cmd
run: |
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
.\scripts\configure.ps1
powershell -File .\scripts\configure.ps1
- name: Build on Ubuntu or macOS
if: ${{ matrix.os != 'windows-2022' }}
run: make

- name: Build on Windows
if: ${{ matrix.os == 'windows-2022' }}
shell: cmd
run: |
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
.\scripts\build.ps1
powershell -File .\scripts\build.ps1
- name: Prepare artifacts on Ubuntu or macOS
if: ${{ matrix.os != 'windows-2022' }}
Expand Down

0 comments on commit 2b52af9

Please sign in to comment.