diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index baf3e9bc19847a919fb09d43a3aa457369ae2f1a..9dc1ed8fc4474caece51ba575a775a80c932f8ec 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -185,6 +185,26 @@ build_release_tag: IMAGE_TAG: "$CI_COMMIT_TAG" PODMAN_BUILD_OPTIONS: "--platform linux/amd64" +gdev_build: + stage: build + image: rust:1-bullseye + rules: + - if: $CI_COMMIT_REF_NAME =~ /^wip*$/ + when: manual + - if: $CI_COMMIT_TAG + when: never + - if: $CI_COMMIT_BRANCH =~ /^(release\/runtime-)[0-9].*/ + when: never + - if: '$CI_MERGE_REQUEST_ID || $CI_COMMIT_BRANCH == "master"' + when: manual + - when: always + variables: + DEBIAN_FRONTEND: noninteractive + script: + - apt-get update + - apt-get install -y clang cmake protobuf-compiler + - cargo build --no-default-features --features gtest + tests: stage: tests image: rust:1-bullseye