fix win cicd, revert back to vs2019
This commit is contained in:
parent
3725ef1e1b
commit
ed156c1fc9
2 changed files with 6 additions and 4 deletions
8
.github/workflows/build_win.yml
vendored
8
.github/workflows/build_win.yml
vendored
|
@ -10,6 +10,7 @@ on:
|
|||
- 'version.inc'
|
||||
- 'bbl/**'
|
||||
- 'resources/**'
|
||||
- '.github/workflows/build_win.yml'
|
||||
|
||||
pull_request:
|
||||
branches:
|
||||
|
@ -20,6 +21,7 @@ on:
|
|||
- 'version.inc'
|
||||
- 'bbl/**'
|
||||
- 'resources/**'
|
||||
- '.github/workflows/build_win.yml'
|
||||
|
||||
jobs:
|
||||
build_win64:
|
||||
|
@ -36,11 +38,11 @@ jobs:
|
|||
- run: mkdir ${{ github.workspace }}/deps/build/OrcaSlicer_dep
|
||||
- name: download deps
|
||||
shell: powershell
|
||||
run: '(new-object System.Net.WebClient).DownloadFile("https://github.com/SoftFever/FileSharing/releases/download/4/OrcaSlicer_dep_16Jul2023.zip", "$env:temp\OrcaSlicer_dep_16Jul2023.zip")'
|
||||
run: '(new-object System.Net.WebClient).DownloadFile("https://github.com/SoftFever/FileSharing/releases/download/4/OrcaSlicer_dep_18Jul2023.zip", "$env:temp\OrcaSlicer_dep_18Jul2023.zip")'
|
||||
- name: extract deps
|
||||
working-directory: ${{ github.workspace }}/deps/build
|
||||
shell: cmd
|
||||
run: '"C:/Program Files/7-Zip/7z.exe" x %temp%\OrcaSlicer_dep_16Jul2023.zip'
|
||||
run: '"C:/Program Files/7-Zip/7z.exe" x %temp%\OrcaSlicer_dep_18Jul2023.zip'
|
||||
|
||||
- run: dir "${{ github.workspace }}\deps\build\OrcaSlicer_dep"
|
||||
|
||||
|
@ -63,7 +65,7 @@ jobs:
|
|||
|
||||
- name: Build studio
|
||||
working-directory: ${{ github.workspace }}
|
||||
run: .\build_release_vs2022.bat studio
|
||||
run: .\build_release.bat studio
|
||||
|
||||
# - name: pack app
|
||||
# working-directory: ${{ github.workspace }}/build
|
||||
|
|
|
@ -8,7 +8,7 @@ if "%1"=="studio" (
|
|||
)
|
||||
echo "building deps.."
|
||||
cmake ../ -G "Visual Studio 17 2022" -A x64 -DDESTDIR="%CD%/OrcaSlicer_dep" -DCMAKE_BUILD_TYPE=Release
|
||||
@REM cmake --build . --config Release --target ALL_BUILD -- -m
|
||||
cmake --build . --config Release --target ALL_BUILD -- -m
|
||||
|
||||
if "%1"=="deps" exit /b 0
|
||||
|
||||
|
|
Loading…
Reference in a new issue