diff --git a/ci/matrix.yaml b/ci/matrix.yaml index 3653930095e..962463d8dc5 100644 --- a/ci/matrix.yaml +++ b/ci/matrix.yaml @@ -22,6 +22,7 @@ workflows: # # IMPORTANT: Do NOT delete or remove the `override:` key below, even when it is empty. override: + - {jobs: ['test'], project: 'cccl_c_parallel_v2', ctk: '13.X', cxx: ['gcc13', 'msvc'], gpu: 'rtx2080'} pull_request: # Old CTK: Oldest/newest supported host compilers: @@ -79,7 +80,7 @@ workflows: # Eventually v2 will replace v1 as the default and run across the # entire matrix. Currently blocked on libnvfatbin availability on # Windows containers, and for CUDA <12.4. - - {jobs: ['test'], project: 'cccl_c_parallel_v2', ctk: '13.X', cxx: ['gcc13'], gpu: 'rtx2080'} + - {jobs: ['test'], project: 'cccl_c_parallel_v2', ctk: '13.X', cxx: ['gcc13', 'msvc'], gpu: 'rtx2080'} # Python against c.parallel v2 (HostJIT-based). Single point of coverage # for the v2 Python path; the main `python` matrix continues to test # against v1 until v2 replaces it. diff --git a/ci/windows/build_cccl_c_parallel_v2.ps1 b/ci/windows/build_cccl_c_parallel_v2.ps1 new file mode 100644 index 00000000000..529a37b113c --- /dev/null +++ b/ci/windows/build_cccl_c_parallel_v2.ps1 @@ -0,0 +1,28 @@ +Param( + [Parameter(Mandatory = $false)] + [Alias("arch")] + [string]$CUDA_ARCH = "", + [Parameter(Mandatory = $false)] + [Alias("cmake-options")] + [string]$CMAKE_OPTIONS = "" +) + +$ErrorActionPreference = "Stop" + +$CURRENT_PATH = Split-Path $pwd -leaf +If($CURRENT_PATH -ne "ci") { + Write-Host "Moving to ci folder" + pushd "$PSScriptRoot/.." +} + +Remove-Module -Name build_common -ErrorAction SilentlyContinue +Import-Module $PSScriptRoot/build_common.psm1 -ArgumentList @(20, $CUDA_ARCH, $CMAKE_OPTIONS) + +$PRESET = "cccl-c-parallel-v2" +$LOCAL_CMAKE_OPTIONS = "" + +configure_and_build_preset "CCCL C Parallel" $PRESET $LOCAL_CMAKE_OPTIONS + +If($CURRENT_PATH -ne "ci") { + popd +}