summaryrefslogtreecommitdiffstats
path: root/.gitlab/os-windows.yml
Commit message (Collapse)AuthorAgeFilesLines
* gitlab-ci: Simplify Windows packaging pipelineBrad King2023-02-281-12/+0
| | | | | | | | | | | | In commit 4c7c66dcf5 (gitlab-ci: Add jobs to make Windows x86_64 and i386 packages, 2022-05-19, v3.24.0-rc1~112^2) we used a separate Windows packaging job in nightly packaging pipelines. It did not run in release pipelines, where we need to run the final packaging step manually with signing. Simplify nightly packaging pipelines by running `cpack` at the end of the build job as we do for other platforms. For release packaging pipelines, create an archive of the files needed to build a package, and present this as the built "package" on Windows.
* gitlab-ci: add pre-build and post-build steps to WindowsBrad King2023-02-281-0/+2
| | | | | | Apply the approach from commit 372ce5bffe (ci: add pre-build and post-build steps to Linux, 2022-12-05, v3.26.0-rc1~225^2~1) to build jobs on Windows.
* gitlab-ci: Update Windows builds to MSVC 14.35 toolsetBrad King2023-02-221-11/+11
|
* gitlab-ci: replace '{macos,windows}' tags with '{macos,windows}-x86_64'Brad King2022-11-301-5/+5
| | | | | The latter tags are now available on our CI runners to more explicitly distinguish `{macos,windows}-x86_64` from `{macos,windows}-arm64`.
* gitlab-ci: rename tag configuration entries to start in '$os_$arch_tags'Brad King2022-11-301-5/+5
| | | | | This groups their definitions nicely, and makes their purpose more clear from reference sites.
* gitlab-ci: Add windows-arm64 native jobs for Ninja and VSBrad King2022-11-111-0/+42
| | | | | | | Add Windows ARM64 native CI jobs to build and test with Ninja, and to test with VS. Issue: #23624
* ci: Factor out helper to load python into environment on WindowsBrad King2022-11-111-3/+1
|
* ci: Factor out helper to load qt into environment on WindowsBrad King2022-11-111-2/+1
|
* Merge topic 'ci-msvc-14.34'Brad King2022-11-111-40/+19
|\ | | | | | | | | | | | | | | bd5176abac gitlab-ci: Update Windows packaging builds to MSVC 14.34 toolset ccdff280f4 gitlab-ci: Update Windows non-packaging builds to MSVC 14.34 toolset Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7891
| * gitlab-ci: Update Windows packaging builds to MSVC 14.34 toolsetBrad King2022-11-101-35/+14
| | | | | | | | | | | | | | | | | | | | Problems with `cmake-gui` when compiled with the MSVC 14.33 toolset, that did not occur with the MSVC 14.32 toolset, no longer occur with the MSVC 14.34 toolset. Revert commit cb8b27a901 (gitlab-ci: Use separate MSVC toolset specification for packaging jobs, 2022-08-18, v3.24.2~24^2~1) and update the remaining toolset version references. Fixes: #23859
| * gitlab-ci: Update Windows non-packaging builds to MSVC 14.34 toolsetBrad King2022-11-101-5/+5
| |
* | Merge topic 'ci-clang15-windows'Brad King2022-11-111-18/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | 46b2849550 ci: Update LLVM/Clang to 15.0 in nightly CI jobs on Windows 3eb94e4d51 ci: Simplify LLVM/Clang CI job specs on Windows 8ba5835c8d ci: Factor out helper to load clang into environment on Windows bf2e4a2e85 ci: Factor out helper to load ninja into environment on Windows 93ff726114 Tests: Fix TryCompile bad source case for clang-cl 15 on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7897
| * ci: Simplify LLVM/Clang CI job specs on WindowsBrad King2022-11-101-11/+0
| | | | | | | | | | Move environment setup to job-specific scripts so we can reuse the common `.cmake_test_windows_external` code path.
| * ci: Factor out helper to load clang into environment on WindowsBrad King2022-11-101-4/+1
| |
| * ci: Factor out helper to load ninja into environment on WindowsBrad King2022-11-101-6/+3
| |
* | ci: add MSYS Makefiles nightly CI jobBrad King2022-11-021-0/+7
| | | | | | | | Use the MinGW/MSYS 1.0 distribution from `mingw.osdn.io`.
* | ci: add MinGW Makefiles nightly CI jobBrad King2022-11-021-0/+16
|/ | | | Use the MinGW/MSYS 1.0 distribution from `mingw.osdn.io`.
* ci: add support for gitlab-runner 'shell = pwsh' executorBrad King2022-09-121-4/+4
| | | | | Run powershell child scripts using the same powershell tool as the parent script.
* ci: start every windows job with custom environment scriptBrad King2022-09-121-0/+6
|
* ci: allow powershell variables assigned in env scripts to persistBrad King2022-09-121-2/+2
| | | | | | | | Load env scripts with `.` sourcing instead of `Invoke-Expression`. This allows powershell variables to persist, much like bash. Leave helper script loading unchanged, as those scripts may set powershell variables that we do not want to persist.
* gitlab-ci: Update non-packaging Windows builds to MSVC 14.33 toolsetBrad King2022-08-191-5/+5
| | | | | | | | | Restore the change from commit 6f17996edc (gitlab-ci: Update Windows builds to MSVC 14.33 toolset, 2022-08-15, v3.24.1~3^2), but not for packaging jobs. `cmake-gui` is still buggy when compiled with the newer toolset. Issue: #23859
* gitlab-ci: Use separate MSVC toolset specification for packaging jobsBrad King2022-08-191-13/+34
| | | | | | | This will be useful for testing CMake with one version of MSVC while packaging the official binaries with another version. Issue: #23859
* gitlab-ci: Revert Windows builds from MSVC 14.33 to MSVC 14.32 toolsetBrad King2022-08-171-7/+7
| | | | | | | | | | Revert commit 6f17996edc (gitlab-ci: Update Windows builds to MSVC 14.33 toolset, 2022-08-15). A `cmake-gui` built with the MSVC 14.33 toolset emits spurious errors when configuring CMake projects, even when the adjacent `cmake` binary succeeds reliably. Revert to the known-working MSVC 14.32 toolset pending further investigation. Issue: #23859
* gitlab-ci: Update Windows builds to MSVC 14.33 toolsetBrad King2022-08-161-7/+7
|
* gitlab-ci: Add job to build Windows arm64 binariesBrad King2022-06-131-0/+23
| | | | | | | | | | Base it on the approach from commit 4c7c66dcf5 (gitlab-ci: Add jobs to make Windows x86_64 and i386 packages, 2022-05-19). Leave out the packaging and upload steps for now because they are only for the nightly binaries, and will need a new release of CPack to pass the `arm64` architecture to WiX. Issue: #21902
* gitlab-ci: add nightly job testing Ninja Multi-Config on WindowsBrad King2022-06-071-0/+15
|
* gitlab-ci: init macOS and Windows jobs with per-CMAKE_CONFIGURATION scriptsBrad King2022-06-061-0/+2
| | | | | | Apply the approach from commit 747940157f (gitlab-ci: init environment with per-CMAKE_CONFIGURATION shell scripts, 2021-03-12, v3.21.0-rc1~480^2~4) to macOS and Windows too.
* gitlab-ci: Add jobs to make Windows x86_64 and i386 packagesBrad King2022-05-191-0/+42
| | | | | | | | | | | Run CPack in a separate job for nightly binaries, and not at all for release binaries. Unlike macOS disk images (.dmg), we cannot sign the binaries inside Windows installers (.msi) after-the-fact. Instead, produce enough artifacts from the build job to sign and package release binaries manually. Port build settings from `Utilities/Release/win/x86/Dockerfile` and its helper scripts.
* Merge topic 'ci-msvc-19.32'Brad King2022-05-131-4/+4
|\ | | | | | | | | | | | | cc93d2af08 gitlab-ci: Update Windows builds to MSVC 19.32 toolset Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7259
| * gitlab-ci: Update Windows builds to MSVC 19.32 toolsetBrad King2022-05-121-4/+4
| |
* | Merge topic 'ci-msvc-19.31'Brad King2022-03-101-4/+4
|\ \ | |/ | | | | | | | | | | | | | | f2c303f4c7 Merge branch 'backport-3.22-ci-msvc-19.31' into ci-msvc-19.31 e66de43180 gitlab-ci: Update Windows builds to MSVC 19.31 toolset fade5b5b8c gitlab-ci: Update Windows builds to MSVC 19.31 toolset Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7059
| * gitlab-ci: Update Windows builds to MSVC 19.31 toolsetBrad King2022-03-091-4/+4
| |
* | ci: Rename ctest_test_external.cmake to ctest_standalone.cmakeBrad King2022-03-021-7/+7
| | | | | | | | | | The script is a standalone ctest script that runs all steps. It can be used for more than just external tests.
* | ci: Add LLVM/Clang 13.0 nightly CI jobs on WindowsBrad King2022-02-041-0/+38
|/ | | | | Add jobs covering the `clang-cl` front-end with Ninja and NMake. Add a job covering the `clang++` front-end with Ninja.
* gitlab-ci: clarify name of windows fragment for building with ninjaBrad King2022-02-021-2/+2
|
* ci: Add JOM nightly CI jobBrad King2021-11-171-0/+28
|
* ci: Add NMake nightly CI jobBrad King2021-11-171-0/+17
|
* gitlab-ci: Factor out windows_vcvarsall_vs2022_x64 config blockBrad King2021-11-171-4/+9
| | | | Isolate the vcvarsall variables in a dedicated block.
* gitlab-ci: Clarify MSVC v71 job script config block nameBrad King2021-11-171-1/+1
| | | | | Rename `cmake_test_windows_{nmake => msvc}` since it fetches MSVC, not NMake.
* gitlab-ci: Add wix, cmake, and ninja to PATH incrementally on WindowsBrad King2021-11-151-4/+5
| | | | Also run their scripts in an isolated child process.
* ci: Add VS 2019 nightly CI jobsBrad King2021-11-121-0/+19
| | | | | Now that the primary VS jobs have been converted to VS 2022, add nightly CI jobs to cover VS 2019.
* gitlab-ci: Update Windows jobs to VS 2022Brad King2021-11-111-14/+14
|
* gitlab-ci: Re-organize Windows job tagsBrad King2021-11-111-2/+9
| | | | | | Name the tag groups based on the VS version needed, if any. Drop VS-related tags from Windows jobs that do not need any pre-installed VS version.
* ci: Add MSVC v71 NMake nightly CI jobBrad King2021-11-011-0/+24
|
* ci: Avoid OpenWatcom linker temp file collisionsBrad King2021-10-211-0/+1
| | | | | | | | | | | | | | | | | | | | When `wlink` needs to spill into a temporary file, code in `spillio.c` checks environment variables `WLINKTMP`, `TMP`, and `TMPDIR` to get a directory for temporary files. It searches for a name `WLK02112.xx*` that doesn't exist, where `*` starts at `a` and increments. Then it opens the file with the chosen name. This can race among concurrent `wlink` invocations that may all chose the same name before opening, and causes errors like: Error! E3008: cannot open C:\...\Temp\WLK02112.xxa : Permission denied Since `wmake` does not run parallel jobs, this normally isn't a problem. However, our test suite runs multiple tests in parallel. Each test has its own `wmake` invocation, and therefore can run `wlink` concurrently. Set `WLINKTMP=.` in the environment to tell each `wlink` to place temporary files in its own working directory, which will be different for each separate `wmake` invocation in our test suite.
* ci: Add Open Watcom 1.9 nightly CI jobBrad King2021-10-181-0/+30
|
* ci: Add Borland 5.5 and 5.8 nightly CI jobsBrad King2021-10-131-0/+31
|
* gitlab-ci: Update Windows builds to MSVC 19.29-16.11 toolsetBrad King2021-09-021-4/+4
|
* gitlab-ci: Rename CI config variable to avoid conflict with CMAKE_BUILD_TYPEBrad King2021-07-021-1/+1
| | | | | | | Since commit e216b9bbd3 (cmake: Allow CMAKE_BUILD_TYPE to be set by environment variable, 2021-06-29), the `CMAKE_BUILD_TYPE` environment variable is interpreted by CMake, and can affect the test suite. Rename our CI config variable to avoid conflict.
* gitlab-ci: Update Windows builds to MSVC 19.29-16.10 toolsetBrad King2021-05-281-4/+4
|