9
9
type : boolean
10
10
push :
11
11
branches :
12
- - master
12
+ - bleedingedge
13
13
- ci
14
14
paths :
15
15
[
@@ -78,14 +78,14 @@ jobs:
78
78
79
79
- name : Pack artifacts
80
80
id : pack_artifacts
81
- if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master ' ) || github.event.inputs.create_release == 'true' }}
81
+ if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/bleedingedge ' ) || github.event.inputs.create_release == 'true' }}
82
82
run : |
83
83
cp ggml/LICENSE ./build/bin/ggml.txt
84
84
cp LICENSE ./build/bin/stable-diffusion.cpp.txt
85
85
zip -j sd-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-bin-${{ steps.system-info.outputs.OS_TYPE }}-${{ steps.system-info.outputs.OS_NAME }}-${{ steps.system-info.outputs.OS_VERSION }}-${{ steps.system-info.outputs.CPU_ARCH }}.zip ./build/bin/*
86
86
87
87
- name : Upload artifacts
88
- if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master ' ) || github.event.inputs.create_release == 'true' }}
88
+ if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/bleedingedge ' ) || github.event.inputs.create_release == 'true' }}
89
89
uses : actions/upload-artifact@v4
90
90
with :
91
91
name : sd-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-bin-${{ steps.system-info.outputs.OS_TYPE }}-${{ steps.system-info.outputs.OS_NAME }}-${{ steps.system-info.outputs.OS_VERSION }}-${{ steps.system-info.outputs.CPU_ARCH }}.zip
@@ -131,14 +131,14 @@ jobs:
131
131
132
132
- name : Pack artifacts
133
133
id : pack_artifacts
134
- if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master ' ) || github.event.inputs.create_release == 'true' }}
134
+ if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/bleedingedge ' ) || github.event.inputs.create_release == 'true' }}
135
135
run : |
136
136
cp ggml/LICENSE ./build/bin/ggml.txt
137
137
cp LICENSE ./build/bin/stable-diffusion.cpp.txt
138
138
zip -j sd-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-bin-${{ steps.system-info.outputs.OS_TYPE }}-${{ steps.system-info.outputs.OS_NAME }}-${{ steps.system-info.outputs.OS_VERSION }}-${{ steps.system-info.outputs.CPU_ARCH }}.zip ./build/bin/*
139
139
140
140
- name : Upload artifacts
141
- if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master ' ) || github.event.inputs.create_release == 'true' }}
141
+ if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/bleedingedge ' ) || github.event.inputs.create_release == 'true' }}
142
142
uses : actions/upload-artifact@v4
143
143
with :
144
144
name : sd-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-bin-${{ steps.system-info.outputs.OS_TYPE }}-${{ steps.system-info.outputs.OS_NAME }}-${{ steps.system-info.outputs.OS_VERSION }}-${{ steps.system-info.outputs.CPU_ARCH }}.zip
@@ -166,7 +166,7 @@ jobs:
166
166
defines : " -DSD_CUDA=ON -DSD_BUILD_SHARED_LIBS=ON -DCMAKE_CUDA_ARCHITECTURES=90;89;80;75"
167
167
# - build: "rocm5.5"
168
168
# defines: '-G Ninja -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DSD_HIPBLAS=ON -DCMAKE_BUILD_TYPE=Release -DAMDGPU_TARGETS="gfx1100;gfx1102;gfx1030" -DSD_BUILD_SHARED_LIBS=ON'
169
- - build : ' vulkan'
169
+ - build : " vulkan"
170
170
defines : " -DSD_VULKAN=ON -DSD_BUILD_SHARED_LIBS=ON"
171
171
steps :
172
172
- name : Clone
@@ -229,12 +229,12 @@ jobs:
229
229
230
230
- name : Get commit hash
231
231
id : commit
232
- if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master ' ) || github.event.inputs.create_release == 'true' }}
232
+ if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/bleedingedge ' ) || github.event.inputs.create_release == 'true' }}
233
233
uses : pr-mpt/actions-commit-hash@v2
234
234
235
235
- name : Pack artifacts
236
236
id : pack_artifacts
237
- if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master ' ) || github.event.inputs.create_release == 'true' }}
237
+ if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/bleedingedge ' ) || github.event.inputs.create_release == 'true' }}
238
238
run : |
239
239
$filePath = ".\build\bin\Release\*"
240
240
if (Test-Path $filePath) {
@@ -254,31 +254,31 @@ jobs:
254
254
255
255
- name : Copy and pack Cuda runtime
256
256
id : pack_cuda_runtime
257
- if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master ' && matrix.build == 'cuda12' ) || github.event.inputs.create_release == 'true' }}
257
+ if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/bleedingedge ' && matrix.build == 'cuda12' ) || github.event.inputs.create_release == 'true' }}
258
258
run : |
259
259
echo "Cuda install location: ${{steps.cuda-toolkit.outputs.CUDA_PATH}}"
260
260
$dst='.\build\bin\cudart\'
261
261
robocopy "${{steps.cuda-toolkit.outputs.CUDA_PATH}}\bin" $dst cudart64_*.dll cublas64_*.dll cublasLt64_*.dll
262
262
7z a cudart-sd-bin-win-cu12-x64.zip $dst\*
263
263
264
264
- name : Upload Cuda runtime
265
- if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master ' && matrix.build == 'cuda12' ) || github.event.inputs.create_release == 'true' }}
265
+ if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/bleedingedge ' && matrix.build == 'cuda12' ) || github.event.inputs.create_release == 'true' }}
266
266
uses : actions/upload-artifact@v4
267
267
with :
268
268
name : sd-cudart-sd-bin-win-cu12-x64.zip
269
269
path : |
270
270
cudart-sd-bin-win-cu12-x64.zip
271
271
272
272
- name : Upload artifacts
273
- if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master ' ) || github.event.inputs.create_release == 'true' }}
273
+ if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/bleedingedge ' ) || github.event.inputs.create_release == 'true' }}
274
274
uses : actions/upload-artifact@v4
275
275
with :
276
276
name : sd-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-bin-win-${{ matrix.build }}-x64.zip
277
277
path : |
278
278
sd-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-bin-win-${{ matrix.build }}-x64.zip
279
279
280
280
release :
281
- if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master ' ) || github.event.inputs.create_release == 'true' }}
281
+ if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/bleedingedge ' ) || github.event.inputs.create_release == 'true' }}
282
282
283
283
runs-on : ubuntu-latest
284
284
0 commit comments