mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix failing builds and update CI on push.
Specifically: - Fixed ctz on 32-bit arm (where `uint64_t` is `unsigned long long`) - Fixed build of random_cpp11 snippet when C++11 is disabled - Updated CI scripts to run windows on push, and added a no-c++11 test
This commit is contained in:
@@ -48,6 +48,11 @@ build:linux:cross:x86-64:gcc-10:default:
|
||||
EIGEN_CI_CROSS_C_COMPILER: x86_64-linux-gnu-gcc-10
|
||||
EIGEN_CI_CROSS_CXX_COMPILER: x86_64-linux-gnu-g++-10
|
||||
|
||||
build:linux:cross:x86-64:gcc-10:cxx03:
|
||||
extends: build:linux:cross:x86-64:gcc-10:default
|
||||
variables:
|
||||
EIGEN_CI_ADDITIONAL_ARGS: "-DEIGEN_TEST_CXX11=off"
|
||||
|
||||
build:linux:cross:x86-64:gcc-10:avx:
|
||||
extends: build:linux:cross:x86-64:gcc-10:default
|
||||
variables:
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
rules:
|
||||
- if: $CI_PIPELINE_SOURCE == "schedule" && $CI_PROJECT_NAMESPACE == "libeigen"
|
||||
- if: $CI_PIPELINE_SOURCE == "web" && $CI_PROJECT_NAMESPACE == "libeigen"
|
||||
- if: $CI_PIPELINE_SOURCE == "push" && $CI_PROJECT_NAMESPACE == "libeigen"
|
||||
cache:
|
||||
key: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG-BUILD"
|
||||
paths:
|
||||
@@ -37,6 +38,11 @@ build:windows:x86-64:msvc-14.29:default:
|
||||
variables:
|
||||
EIGEN_CI_MSVC_VER: "14.29"
|
||||
|
||||
build:windows:x86-64:msvc-14.29:cxx03:
|
||||
extends: build:windows:x86-64:msvc-14.29:default
|
||||
variables:
|
||||
EIGEN_CI_ADDITIONAL_ARGS: "-DEIGEN_TEST_CXX11=off"
|
||||
|
||||
build:windows:x86-64:msvc-14.29:avx2:
|
||||
extends: build:windows:x86-64:msvc-14.29:default
|
||||
variables:
|
||||
|
||||
@@ -46,6 +46,10 @@ test:linux:x86-64:gcc-6:default:unsupported:
|
||||
variables:
|
||||
EIGEN_CI_INSTALL: g++-10
|
||||
|
||||
test:linux:x86-64:gcc-10:cxx03:
|
||||
extends: .test:linux:x86-64:gcc-10:default
|
||||
needs: [ build:linux:cross:x86-64:gcc-10:cxx03 ]
|
||||
|
||||
test:linux:x86-64:gcc-10:default:official:
|
||||
extends: .test:linux:x86-64:gcc-10:default
|
||||
variables:
|
||||
|
||||
@@ -6,8 +6,9 @@
|
||||
after_script:
|
||||
- ./ci/scripts/test.windows.after_script.ps1
|
||||
rules:
|
||||
- if: $CI_PIPELINE_SOURCE == "schedule"
|
||||
- if: $CI_PIPELINE_SOURCE == "web"
|
||||
- if: $CI_PIPELINE_SOURCE == "schedule" && $CI_PROJECT_NAMESPACE == "libeigen"
|
||||
- if: $CI_PIPELINE_SOURCE == "web" && $CI_PROJECT_NAMESPACE == "libeigen"
|
||||
- if: $CI_PIPELINE_SOURCE == "push" && $CI_PROJECT_NAMESPACE == "libeigen"
|
||||
tags:
|
||||
- eigen-runner
|
||||
- windows
|
||||
@@ -35,6 +36,10 @@ test:windows:x86-64:msvc-14.16:default:unsupported:
|
||||
extends: .test:windows
|
||||
needs: [ build:windows:x86-64:msvc-14.29:default ]
|
||||
|
||||
test:windows:x86-64:msvc-14.29:default:official:
|
||||
extends: .test:windows:x86-64:msvc-14.29:default
|
||||
needs: [ build:windows:x86-64:msvc-14.29:cxx03 ]
|
||||
|
||||
test:windows:x86-64:msvc-14.29:default:official:
|
||||
extends: .test:windows:x86-64:msvc-14.29:default
|
||||
variables:
|
||||
|
||||
Reference in New Issue
Block a user