Skip to content

Commit 263f1a3

Browse files
authored
Update backends.yml
1 parent d450bc1 commit 263f1a3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/backends.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
path: .\build\bin\Release\stable-diffusion.dll
5454

5555
windows-cuda12:
56-
runs-on: windows-2019
56+
runs-on: windows-latest
5757

5858
steps:
5959
- name: Checkout
@@ -99,7 +99,7 @@ jobs:
9999
run: |
100100
mkdir build
101101
cd build
102-
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
102+
call "C:\Program Files (x86)\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
103103
cmake .. -DSD_CUDA=ON -DCMAKE_CUDA_ARCHITECTURES="61;75;80;89;90" -DSD_BUILD_SHARED_LIBS=ON
104104
cmake --build . --config Release
105105
@@ -111,7 +111,7 @@ jobs:
111111
path: .\build\bin\Release\stable-diffusion.dll
112112

113113
windows-cuda11:
114-
runs-on: windows-2019
114+
runs-on: windows-latest
115115

116116
steps:
117117
- name: Checkout
@@ -157,7 +157,7 @@ jobs:
157157
run: |
158158
mkdir build
159159
cd build
160-
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
160+
call "C:\Program Files (x86)\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
161161
cmake .. -DSD_CUDA=ON -DCMAKE_CUDA_ARCHITECTURES="61;75;80;89;90" -DSD_BUILD_SHARED_LIBS=ON -DCMAKE_CUDA_FLAGS="-allow-unsupported-compiler"
162162
cmake --build . --config Release
163163

0 commit comments

Comments
 (0)