File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -66,15 +66,24 @@ jobs:
66
66
- name : Build(x64)
67
67
run : cmake --build build-x64 --config Release
68
68
69
+ - name : Download and extract CUDA and ROCm zips
70
+ run : |
71
+ curl -L -o CUDA_v11.8.zip https://github.com/whyb/FastChwHwcConverter/raw/ci-dependencies/CUDA_v11.8/CUDA_v11.8.zip
72
+ curl -L -o ROCm_v6.2.4.zip https://github.com/whyb/FastChwHwcConverter/raw/ci-dependencies/ROCm_v6.2.4/ROCm_v6.2.4.zip
73
+ mkdir -p ./build-x64/Release/dependencies
74
+ tar -xf CUDA_v11.8.zip -C ./build-x64/Release/dependencies
75
+ tar -xf ROCm_v6.2.4.zip -C ./build-x64/Release/dependencies
76
+
69
77
- name : List build folder
70
78
run : |
71
79
dir .\build-x64\
72
80
dir .\build-x64\Release\
81
+ dir .\build-x64\Release\dependencies\
73
82
74
- - name : Zip binary files
83
+ - name : Zip binary files (include dependencies)
75
84
run : |
76
- zip ./bin-windows-msvc-x64.zip .\build-x64\Release\example.exe .\build-x64\Release\benchmark.exe .\build-x64\Release\cuda_benchmark.exe .\build-x64\Release\rocm_benchmark.exe .\build-x64\Release\example-opencv.exe
77
-
85
+ zip ./bin-windows-msvc-x64.zip .\build-x64\Release\example.exe .\build-x64\Release\benchmark.exe .\build-x64\Release\cuda_benchmark.exe .\build-x64\Release\rocm_benchmark.exe .\build-x64\Release\example-opencv.exe .\build-x64\Release\dependencies\*
86
+
78
87
- name : Archive Windows build artifacts
79
88
uses : actions/upload-artifact@v4
80
89
with :
You can’t perform that action at this time.
0 commit comments