mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
53 lines
1.4 KiB
YAML
53 lines
1.4 KiB
YAML
# This file is part of Eigen, a lightweight C++ template library
|
|
# for linear algebra.
|
|
#
|
|
# Copyright (C) 2023, The Eigen Authors
|
|
#
|
|
# This Source Code Form is subject to the terms of the Mozilla
|
|
# Public License v. 2.0. If a copy of the MPL was not distributed
|
|
# with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
default:
|
|
interruptible: true
|
|
|
|
# For MR pipelines, auto-cancel running jobs when new commits are pushed.
|
|
# For scheduled (nightly) pipelines, never auto-cancel so all jobs run to
|
|
# completion and all failures are visible for debugging.
|
|
workflow:
|
|
auto_cancel:
|
|
on_new_commit: interruptible
|
|
on_job_failure: none
|
|
rules:
|
|
- if: $CI_PIPELINE_SOURCE == "schedule"
|
|
auto_cancel:
|
|
on_new_commit: none
|
|
- when: always
|
|
|
|
stages:
|
|
- checkformat
|
|
- build
|
|
- test
|
|
- benchmark
|
|
- deploy
|
|
|
|
variables:
|
|
# CMake build directory.
|
|
EIGEN_CI_BUILDDIR: .build
|
|
# Specify the CMake build target.
|
|
EIGEN_CI_BUILD_TARGET: ""
|
|
# If a test regex is specified, that will be selected.
|
|
# Otherwise, we will try a label if specified.
|
|
EIGEN_CI_CTEST_REGEX: ""
|
|
EIGEN_CI_CTEST_LABEL: ""
|
|
EIGEN_CI_CTEST_ARGS: ""
|
|
|
|
include:
|
|
- "/ci/checkformat.gitlab-ci.yml"
|
|
- "/ci/common.gitlab-ci.yml"
|
|
- "/ci/build.linux.gitlab-ci.yml"
|
|
- "/ci/build.windows.gitlab-ci.yml"
|
|
- "/ci/test.linux.gitlab-ci.yml"
|
|
- "/ci/test.windows.gitlab-ci.yml"
|
|
- "/ci/benchmark.gitlab-ci.yml"
|
|
- "/ci/deploy.gitlab-ci.yml"
|