mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-01-18 17:31:19 +01:00
<!-- Thanks for contributing a merge request! Please name and fully describe your MR as you would for a commit message. If the MR fixes an issue, please include "Fixes #issue" in the commit message and the MR description. In addition, we recommend that first-time contributors read our [contribution guidelines](https://eigen.tuxfamily.org/index.php?title=Contributing_to_Eigen) and [git page](https://eigen.tuxfamily.org/index.php?title=Git), which will help you submit a more standardized MR. Before submitting the MR, you also need to complete the following checks: - Make one PR per feature/bugfix (don't mix multiple changes into one PR). Avoid committing unrelated changes. - Rebase before committing - For code changes, run the test suite (at least the tests that are likely affected by the change). See our [test guidelines](https://eigen.tuxfamily.org/index.php?title=Tests). - If possible, add a test (both for bug-fixes as well as new features) - Make sure new features are documented Note that we are a team of volunteers; we appreciate your patience during the review process. Again, thanks for contributing! --> ### Reference issue <!-- You can link to a specific issue using the gitlab syntax #<issue number> --> ### What does this implement/fix? <!--Please explain your changes.--> Currently, we run each test 3 times to account for flaky tests. Sometimes, the test fails so quickly that the random seed is the same for the subsequent test, which fails the exact same way. This MR uses a nanosecond seed which resolves the issue described above. Now, if the test does not pass on the first attempt but passes on the retries, the gitlab job status will be yellow but still be treated as a pass in the ci/cd pipeline. Hopefully, this means we will get more passes and help us identify room for improvement. ### Additional information <!--Any additional information you think is important.--> See merge request libeigen/eigen!2025
77 lines
2.1 KiB
YAML
77 lines
2.1 KiB
YAML
.test:windows:
|
|
extends: .common:windows
|
|
stage: test
|
|
script:
|
|
- ./ci/scripts/test.windows.script.ps1
|
|
after_script:
|
|
- ./ci/scripts/test.windows.after_script.ps1
|
|
rules:
|
|
- if: $CI_PIPELINE_SOURCE == "schedule" && $CI_PROJECT_NAMESPACE == "libeigen"
|
|
- if: $CI_PIPELINE_SOURCE == "web" && $CI_PROJECT_NAMESPACE == "libeigen"
|
|
- if: $CI_PIPELINE_SOURCE == "merge_request_event" && $CI_PROJECT_NAMESPACE == "libeigen" && $CI_MERGE_REQUEST_LABELS =~ "/all-tests/"
|
|
tags:
|
|
- eigen-runner
|
|
- windows
|
|
- x86-64
|
|
allow_failure:
|
|
exit_codes: 42
|
|
|
|
##### MSVC #####################################################################
|
|
|
|
# MSVC 14.29 (VS 2019) 64 bit
|
|
|
|
test:windows:x86-64:msvc-14.29:default:official:
|
|
extends: .test:windows
|
|
needs: [ build:windows:x86-64:msvc-14.29:default ]
|
|
variables:
|
|
EIGEN_CI_CTEST_LABEL: Official
|
|
|
|
test:windows:x86-64:msvc-14.29:default:unsupported:
|
|
extends: test:windows:x86-64:msvc-14.29:default:official
|
|
variables:
|
|
EIGEN_CI_CTEST_LABEL: Unsupported
|
|
|
|
test:windows:x86-64:msvc-14.29:avx2:official:
|
|
extends: .test:windows
|
|
needs: [ build:windows:x86-64:msvc-14.29:avx2 ]
|
|
variables:
|
|
EIGEN_CI_CTEST_LABEL: Official
|
|
|
|
test:windows:x86-64:msvc-14.29:avx2:unsupported:
|
|
extends: test:windows:x86-64:msvc-14.29:avx2:official
|
|
variables:
|
|
EIGEN_CI_CTEST_LABEL: Unsupported
|
|
|
|
test:windows:x86-64:msvc-14.29:avx512dq:official:
|
|
extends: .test:windows
|
|
needs: [ build:windows:x86-64:msvc-14.29:avx512dq ]
|
|
tags:
|
|
- eigen-runner
|
|
- windows
|
|
- x86-64
|
|
- avx512
|
|
variables:
|
|
EIGEN_CI_CTEST_LABEL: Official
|
|
|
|
test:windows:x86-64:msvc-14.29:avx512dq:unsupported:
|
|
extends: test:windows:x86-64:msvc-14.29:avx512dq:official
|
|
variables:
|
|
EIGEN_CI_CTEST_LABEL: Unsupported
|
|
|
|
# MSVC 14.29 (VS 2019) + CUDA
|
|
|
|
.test:windows:cuda:
|
|
extends: .test:windows
|
|
allow_failure: true
|
|
variables:
|
|
EIGEN_CI_CTEST_LABEL: gpu
|
|
tags:
|
|
- eigen-runner
|
|
- windows
|
|
- x86-64
|
|
- cuda
|
|
|
|
# MSVC 14.29 + CUDA 11.4
|
|
test:windows:x86-64:cuda-11.4:msvc-14.29:
|
|
extends: .test:windows:cuda
|
|
needs: [ build:windows:x86-64:cuda-11.4:msvc-14.29 ] |