Skip to content

Commit eb080ca

Browse files
committed
CI: add "all" build also for MSW
Works, but keep it commented-out - the build takes sighificantly longer time (~20 minutes) compared to the "normal" Windows build (8 min). And perhaps there is no need to burn needlessly watts.
1 parent fb16351 commit eb080ca

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

.github/workflows/ccpp.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,19 @@ jobs:
100100
runs-on: windows-2019
101101
strategy:
102102
matrix:
103-
conf: [legacy]
104103
include:
105104
- conf: legacy
106105
build_filename: GPUJPEG-Windows
107106
cuda_arch: 30
108-
cuda_installer: cuda_10.2.89_win10_network.exe
107+
cuda_installer: "https://developer.download.nvidia.com/compute/\
108+
cuda/10.2/Prod/network_installers/cuda_10.2.89_win10_network.exe"
109109
name_prefix: Windows
110+
# - conf: all
111+
# build_filename: GPUJPEG-Windows-all
112+
# cuda_arch: all
113+
# cuda_installer: "https://developer.download.nvidia.com/compute/\
114+
# cuda/12.8.0/network_installers/cuda_12.8.0_windows_network.exe"
115+
# name_prefix: Windows (all CUDA architectures)
110116

111117
steps:
112118
- uses: actions/checkout@main
@@ -116,8 +122,7 @@ jobs:
116122
$installer="${{ matrix.cuda_installer }}"
117123
$installer -match 'cuda_(?<version>[0-9]+.[0-9]+)'
118124
$version=$Matches.version # major.minor (without patch level)
119-
$url="https://developer.download.nvidia.com/compute/cuda/$version/Prod/network_installers/$installer"
120-
Invoke-WebRequest $url -OutFile cuda_inst.exe
125+
Invoke-WebRequest $installer -OutFile cuda_inst.exe
121126
Start-Process -FilePath "cuda_inst.exe" -ArgumentList "-s cudart_$version nvcc_$version visual_studio_integration_$version" -Wait -NoNewWindow
122127
- name: install NSIS
123128
run: choco install nsis -y --no-progress
@@ -152,14 +157,14 @@ jobs:
152157
if: github.repository != 'CESNET/GPUJPEG' || github.ref != 'refs/heads/master'
153158
uses: actions/upload-artifact@main
154159
with:
155-
name: GPUJPEG CI Windows build
160+
name: GPUJPEG CI ${{ matrix.name_prefix }} build
156161
path: GPUJPEG
157162

158163
- name: Upload Installer
159164
if: github.repository != 'CESNET/GPUJPEG' || github.ref != 'refs/heads/master'
160165
uses: actions/upload-artifact@main
161166
with:
162-
name: GPUJPEG CI Windows installer
167+
name: GPUJPEG CI ${{ matrix.name_prefix }} installer
163168
path: gpujpeg-*-win64.exe
164169

165170
- name: Upload Release Build Asset

0 commit comments

Comments
 (0)