From cd404bd5f94f7fc30b561decc1e266dbf7b49dde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Correa=20G=C3=B3mez?= Date: Mon, 10 Aug 2026 12:29:45 +0200 Subject: [PATCH] ci: remove split of static CI jobs into more places MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since the previous commits, there is only one job making use of .package-test hidden job, so merge it into the main file, as the include just makes the whole thing harder to follow. Signed-off-by: Pablo Correa Gómez Part-of: --- .gitlab-ci.yml | 24 ++++++++++++++++++------ cross/.gitlab-ci.yml | 21 --------------------- 2 files changed, 18 insertions(+), 27 deletions(-) delete mode 100644 cross/.gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 56aa024dd..4d14cb1d6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -30,8 +30,6 @@ workflow: # Run scheduled pipeline for autoupdate or manually triggered pipeline - if: $CI_PIPELINE_SOURCE == "schedule" || $CI_PIPELINE_SOURCE == "web" -include: "cross/.gitlab-ci.yml" - # device documentation wiki: stage: lint @@ -288,10 +286,24 @@ auto-update: - log_testsuite_pmaports.txt - pmbootstrap.cfg -# Template for package test jobs defined per-package -.package-test: +cross-gcc-tests: stage: test + tags: [qemu] + before_script: + - wget "https://gitlab.postmarketos.org/postmarketOS/ci-common/-/raw/main/install_pmbootstrap.sh" + - sh ./install_pmbootstrap.sh + script: + - su pmos -c "pmbootstrap build gcc-aarch64" + - su pmos -c "pmbootstrap build --arch=aarch64 hello-world --force" + - su pmos -c "pmbootstrap build --arch=aarch64 iskey --force" + - su pmos -c "pmbootstrap build --arch=aarch64 mkbootimg-osm0sis --force" + - su pmos -c "pmbootstrap build --arch=aarch64 gcc-x86_64" rules: - if: *mr_rule - before_script: - - .ci/lib/gitlab_prepare_ci.sh + changes: + - cross/gcc-x86_64/APKBUILD + artifacts: + when: always + paths: + - log.txt + expire_in: 1 week diff --git a/cross/.gitlab-ci.yml b/cross/.gitlab-ci.yml deleted file mode 100644 index e9f473d89..000000000 --- a/cross/.gitlab-ci.yml +++ /dev/null @@ -1,21 +0,0 @@ -cross-gcc-tests: - extends: .package-test - tags: [qemu] - before_script: - - wget "https://gitlab.postmarketos.org/postmarketOS/ci-common/-/raw/main/install_pmbootstrap.sh" - - sh ./install_pmbootstrap.sh - script: - - su pmos -c "pmbootstrap build gcc-aarch64" - - su pmos -c "pmbootstrap build --arch=aarch64 hello-world --force" - - su pmos -c "pmbootstrap build --arch=aarch64 iskey --force" - - su pmos -c "pmbootstrap build --arch=aarch64 mkbootimg-osm0sis --force" - - su pmos -c "pmbootstrap build --arch=aarch64 gcc-x86_64" - rules: - - if: $CI_PIPELINE_SOURCE == "merge_request_event" - changes: - - cross/gcc-x86_64/APKBUILD - artifacts: - when: always - paths: - - log.txt - expire_in: 1 week