mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Use QEMU for arm and ppc tests.
This commit is contained in:
@@ -9,6 +9,10 @@
|
||||
- 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
|
||||
- linux
|
||||
- x86-64
|
||||
|
||||
##### x86-64 ###################################################################
|
||||
.test:linux:x86-64:
|
||||
@@ -16,10 +20,6 @@
|
||||
variables:
|
||||
EIGEN_CI_TARGET_ARCH: x86_64
|
||||
EIGEN_CI_CROSS_TARGET_TRIPLE: x86_64-linux-gnu
|
||||
tags:
|
||||
- eigen-runner
|
||||
- linux
|
||||
- x86-64
|
||||
|
||||
# GCC-6 (minimum on Ubuntu 18.04)
|
||||
.test:linux:x86-64:gcc-6:default:
|
||||
@@ -289,16 +289,13 @@ test:linux:cuda-12.2:clang-12:
|
||||
variables:
|
||||
EIGEN_CI_TARGET_ARCH: arm
|
||||
EIGEN_CI_CROSS_TARGET_TRIPLE: arm-linux-gnueabihf
|
||||
# Enable cross-compiled arm binary to run on aarch64.
|
||||
EIGEN_CI_BEFORE_SCRIPT: "ln -s /usr/arm-linux-gnueabihf/lib/ld-linux-armhf.so.3 /lib/ && export LD_LIBRARY_PATH=/usr/arm-linux-gnueabihf/lib/"
|
||||
tags:
|
||||
- saas-linux-large-arm64
|
||||
EIGEN_CI_CTEST_ARGS: --timeout 2000
|
||||
|
||||
.test:linux:arm:gcc-10:default:
|
||||
extends: .test:linux:arm
|
||||
needs: [ build:linux:cross:arm:gcc-10:default ]
|
||||
variables:
|
||||
EIGEN_CI_CROSS_INSTALL: g++-10-arm-linux-gnueabihf
|
||||
EIGEN_CI_CROSS_INSTALL: g++-10-arm-linux-gnueabihf qemu-user-static
|
||||
|
||||
test:linux:arm:gcc-10:default:official:
|
||||
extends: .test:linux:arm:gcc-10:default
|
||||
@@ -314,7 +311,7 @@ test:linux:arm:gcc-10:default:unsupported:
|
||||
extends: .test:linux:arm
|
||||
needs: [ build:linux:cross:arm:clang-12:default ]
|
||||
variables:
|
||||
EIGEN_CI_CROSS_INSTALL: g++-10-arm-linux-gnueabihf clang-12
|
||||
EIGEN_CI_CROSS_INSTALL: g++-10-arm-linux-gnueabihf clang-12 qemu-user-static
|
||||
|
||||
test:linux:arm:clang-12:default:official:
|
||||
extends: .test:linux:arm:clang-12:default
|
||||
@@ -375,16 +372,13 @@ test:linux:aarch64:clang-12:default:unsupported:
|
||||
variables:
|
||||
EIGEN_CI_TARGET_ARCH: ppc64le
|
||||
EIGEN_CI_CROSS_TARGET_TRIPLE: powerpc64le-linux-gnu
|
||||
tags:
|
||||
- eigen-runner
|
||||
- linux
|
||||
- ppc64le
|
||||
|
||||
.test:linux:ppc64le:gcc-10:default:
|
||||
extends: .test:linux:ppc64le
|
||||
needs: [ build:linux:cross:ppc64le:gcc-10:default ]
|
||||
variables:
|
||||
EIGEN_CI_INSTALL: g++-10
|
||||
EIGEN_CI_CROSS_INSTALL: g++-10-powerpc64le-linux-gnu qemu-user-static
|
||||
EIGEN_CI_CTEST_ARGS: --timeout 2000
|
||||
|
||||
test:linux:ppc64le:gcc-10:default:official:
|
||||
extends: .test:linux:ppc64le:gcc-10:default
|
||||
@@ -400,7 +394,7 @@ test:linux:ppc64le:gcc-10:default:unsupported:
|
||||
extends: .test:linux:ppc64le
|
||||
needs: [ build:linux:cross:ppc64le:clang-12:default ]
|
||||
variables:
|
||||
EIGEN_CI_INSTALL: clang-12
|
||||
EIGEN_CI_CROSS_INSTALL: g++-10-powerpc64le-linux-gnu clang-12 qemu-user-static
|
||||
|
||||
test:linux:ppc64le:clang-12:default:official:
|
||||
extends: .test:linux:ppc64le:clang-12:default
|
||||
@@ -412,20 +406,16 @@ test:linux:ppc64le:clang-12:default:unsupported:
|
||||
variables:
|
||||
EIGEN_CI_CTEST_LABEL: Unsupported
|
||||
|
||||
##### loongarch64 ###################################################################
|
||||
##### loongarch64 ##############################################################
|
||||
|
||||
.test:linux:loongarch64:
|
||||
extends: .test:linux
|
||||
image: ubuntu:24.04
|
||||
variables:
|
||||
EIGEN_CI_TARGET_ARCH: loongarch64
|
||||
EIGEN_CI_CROSS_TARGET_TRIPLE: loongarch64-linux-gnu
|
||||
# Install QEMU and set up the execution environment in the image
|
||||
EIGEN_CI_CROSS_INSTALL: g++-14-loongarch64-linux-gnu qemu-user-static
|
||||
EIGEN_CI_CTEST_ARGS: --timeout 2000
|
||||
tags:
|
||||
- eigen-runner
|
||||
- linux
|
||||
- cross-compiler
|
||||
|
||||
# GCC-14 (Ubuntu 24)
|
||||
.test:linux:loongarch64:gcc-14:default:
|
||||
|
||||
Reference in New Issue
Block a user