Skip to content

Commit

Permalink
fuck you windows
Browse files Browse the repository at this point in the history
Signed-off-by: Jun Zhang <[email protected]>
  • Loading branch information
junaire committed Aug 1, 2024
1 parent d709e38 commit 33c932f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,13 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build
shell: cmd
run: |
$wc = New-Object System.Net.WebClient
$url = 'https://github.com/maweil/MakeForWindows/releases/download/v4.4.1/make-bin-win64.zip'
$output = './make-bin-win64.zip'
$wc.DownloadFile($url, $output)
unzip make-bin-win64.zip
mkdir build
cd build
call "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Auxiliary\\Build\\vcvars64.bat"
cmake -DCMAKE_BUILD_TYPE=${{ matrix.target }} ..
cmake --build .
../make.exe

0 comments on commit 33c932f

Please sign in to comment.