mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 12:49:50 -05:00
ci: Add JOM nightly CI job
This commit is contained in:
@@ -0,0 +1 @@
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_msvc_common.cmake")
|
||||
Executable
+15
@@ -0,0 +1,15 @@
|
||||
$erroractionpreference = "stop"
|
||||
|
||||
$sha256sum = "128FDD846FE24F8594EED37D1D8929A0EA78DF563537C0C1B1861A635013FFF8"
|
||||
$tarball = "unstable-jom-2018-12-12.zip"
|
||||
|
||||
$outdir = $pwd.Path
|
||||
$outdir = "$outdir\.gitlab"
|
||||
$ProgressPreference = 'SilentlyContinue'
|
||||
Invoke-WebRequest -Uri "https://cmake.org/files/dependencies/$tarball" -OutFile "$outdir\$tarball"
|
||||
$hash = Get-FileHash "$outdir\$tarball" -Algorithm SHA256
|
||||
if ($hash.Hash -ne $sha256sum) {
|
||||
exit 1
|
||||
}
|
||||
|
||||
Expand-Archive -Path "$outdir\$tarball" -DestinationPath "$outdir\jom"
|
||||
@@ -95,6 +95,14 @@
|
||||
CMAKE_CI_BUILD_TYPE: Release
|
||||
CMAKE_CI_NIGHTLY_IGNORE_DEPS: "true"
|
||||
|
||||
.windows_jom:
|
||||
extends: .windows
|
||||
|
||||
variables:
|
||||
CMAKE_GENERATOR: "NMake Makefiles JOM"
|
||||
CMAKE_CI_BUILD_TYPE: Release
|
||||
CMAKE_CI_NIGHTLY_IGNORE_DEPS: "true"
|
||||
|
||||
.windows_vs2022_x64_nmake:
|
||||
extends:
|
||||
- .windows_nmake
|
||||
@@ -103,6 +111,14 @@
|
||||
variables:
|
||||
CMAKE_CONFIGURATION: windows_vs2022_x64_nmake
|
||||
|
||||
.windows_vs2022_x64_jom:
|
||||
extends:
|
||||
- .windows_jom
|
||||
- .windows_vcvarsall_vs2022_x64
|
||||
|
||||
variables:
|
||||
CMAKE_CONFIGURATION: windows_vs2022_x64_jom
|
||||
|
||||
.windows_msvc_v71_nmake:
|
||||
extends: .windows_nmake
|
||||
|
||||
@@ -223,6 +239,18 @@
|
||||
|
||||
interruptible: true
|
||||
|
||||
.cmake_test_windows_jom:
|
||||
stage: test-ext
|
||||
|
||||
script:
|
||||
- Invoke-Expression -Command .gitlab/ci/jom.ps1
|
||||
- $pwdpath = $pwd.Path
|
||||
- Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\jom;$env:PATH"
|
||||
- Invoke-Expression -Command .gitlab/ci/vcvarsall.ps1
|
||||
- build/install/bin/ctest --output-on-failure -V -S .gitlab/ci/ctest_test_external.cmake
|
||||
|
||||
interruptible: true
|
||||
|
||||
.cmake_test_windows_borland:
|
||||
stage: test-ext
|
||||
|
||||
|
||||
Reference in New Issue
Block a user