The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

ci: Skip container-prep when CI scripts haven't changed

+21 -16
+18 -13
.gitlab-ci.yml
··· 79 79 extends: 80 80 - .monado.variables.debian:bullseye 81 81 - .fdo.container-build@debian # from ci-templates 82 + only: 83 + changes: 84 + - .gitlab-ci/**/* 82 85 variables: 83 86 FDO_DISTRIBUTION_PACKAGES: 'build-essential ca-certificates clang-format cmake codespell curl debhelper devscripts doxygen dput-ng gettext-base git glslang-tools graphviz libavcodec-dev libbsd-dev libcjson-dev libdbus-1-dev libegl1-mesa-dev libeigen3-dev libgl1-mesa-dev libglvnd-dev libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev libhidapi-dev libopencv-dev libsdl2-dev libsystemd-dev libudev-dev libusb-1.0-0-dev libuvc-dev libv4l-dev libvulkan-dev libwayland-dev libx11-dev libx11-xcb-dev libxcb-randr0-dev libxrandr-dev libxxf86vm-dev ninja-build pandoc patch pkg-config python3 python3-click python3-pip unzip wget' 84 87 FDO_DISTRIBUTION_EXEC: 'bash .gitlab-ci/i386_and_proclamation_container_prep.sh' ··· 89 92 extends: 90 93 - .monado.variables.debian:bullseye-ndk 91 94 - .fdo.container-build@debian # from ci-templates 95 + only: 96 + changes: 97 + - .gitlab-ci/**/* 92 98 variables: 93 99 FDO_DISTRIBUTION_PACKAGES: 'ca-certificates cmake default-jdk-headless git glslang-tools libeigen3-dev meson ninja-build pkg-config python3 unzip wget' 94 100 FDO_DISTRIBUTION_EXEC: 'bash .gitlab-ci/android_container_prep.sh' ··· 99 105 extends: 100 106 - .monado.variables.ubuntu:focal 101 107 - .fdo.container-build@ubuntu # from ci-templates 108 + only: 109 + changes: 110 + - .gitlab-ci/**/* 102 111 variables: 103 112 FDO_DISTRIBUTION_PACKAGES: 'build-essential ca-certificates cmake curl debhelper devscripts dput-ng gettext-base git glslang-tools libavcodec-dev libbsd-dev libcjson-dev libdbus-1-dev libegl1-mesa-dev libeigen3-dev libgl1-mesa-dev libglvnd-dev libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev libhidapi-dev libopencv-dev libsdl2-dev libsystemd-dev libudev-dev libusb-1.0-0-dev libuvc-dev libv4l-dev libvulkan-dev libwayland-dev libx11-dev libx11-xcb-dev libxcb-randr0-dev libxrandr-dev libxxf86vm-dev ninja-build pandoc patch pkg-config python3 unzip wget' 104 113 ··· 108 117 extends: 109 118 - .monado.variables.ubuntu:hirsute 110 119 - .fdo.container-build@ubuntu # from ci-templates 120 + only: 121 + changes: 122 + - .gitlab-ci/**/* 111 123 variables: 112 124 FDO_DISTRIBUTION_PACKAGES: 'build-essential ca-certificates cmake curl debhelper devscripts dput-ng gettext-base git glslang-tools libavcodec-dev libbsd-dev libcjson-dev libdbus-1-dev libegl1-mesa-dev libeigen3-dev libgl1-mesa-dev libglvnd-dev libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev libhidapi-dev libopencv-dev libsdl2-dev libsystemd-dev libudev-dev libusb-1.0-0-dev libuvc-dev libv4l-dev libvulkan-dev libwayland-dev libx11-dev libx11-xcb-dev libxcb-randr0-dev libxrandr-dev libxxf86vm-dev ninja-build pandoc patch pkg-config python3 unzip wget' 113 125 ··· 117 129 extends: 118 130 - .monado.variables.ubuntu:impish 119 131 - .fdo.container-build@ubuntu # from ci-templates 132 + only: 133 + changes: 134 + - .gitlab-ci/**/* 120 135 variables: 121 136 FDO_DISTRIBUTION_PACKAGES: 'build-essential ca-certificates cmake curl debhelper devscripts dput-ng gettext-base git glslang-tools libavcodec-dev libbsd-dev libcjson-dev libdbus-1-dev libegl1-mesa-dev libeigen3-dev libgl1-mesa-dev libglvnd-dev libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev libhidapi-dev libopencv-dev libsdl2-dev libsystemd-dev libudev-dev libusb-1.0-0-dev libuvc-dev libv4l-dev libvulkan-dev libwayland-dev libx11-dev libx11-xcb-dev libxcb-randr0-dev libxrandr-dev libxxf86vm-dev ninja-build pandoc patch pkg-config python3 reprepro unzip wget' 122 137 ··· 126 141 extends: 127 142 - .monado.variables.arch:rolling 128 143 - .fdo.container-build@arch # from ci-templates 144 + only: 145 + changes: 146 + - .gitlab-ci/**/* 129 147 variables: 130 148 FDO_DISTRIBUTION_PACKAGES: 'check clang cmake diffutils doxygen eigen ffmpeg gcc git glfw-x11 glslang graphviz gtk3 hidapi libusb libxrandr mesa ninja opencv patch pkgconfig python3 qt5-base v4l-utils vulkan-headers vulkan-icd-loader' 131 149 ··· 137 155 extends: 138 156 - .monado.variables.debian:bullseye 139 157 - .fdo.distribution-image@debian # from ci-templates 140 - needs: 141 - - debian:bullseye:container_prep 142 158 143 159 144 160 # Base for using Debian bullseye-ndk image ··· 146 162 extends: 147 163 - .monado.variables.debian:bullseye-ndk 148 164 - .fdo.suffixed-image@debian # from ci-templates 149 - needs: 150 - - debian:bullseye-ndk:container_prep 151 165 152 166 153 167 # Base for using Ubuntu focal image ··· 155 169 extends: 156 170 - .monado.variables.ubuntu:focal 157 171 - .fdo.distribution-image@ubuntu # from ci-templates 158 - needs: 159 - - ubuntu:focal:container_prep 160 172 161 173 162 174 # Base for using Ubuntu hirsute image ··· 164 176 extends: 165 177 - .monado.variables.ubuntu:hirsute 166 178 - .fdo.distribution-image@ubuntu # from ci-templates 167 - needs: 168 - - ubuntu:hirsute:container_prep 169 179 170 180 171 181 # Base for using Ubuntu impish image ··· 173 183 extends: 174 184 - .monado.variables.ubuntu:impish 175 185 - .fdo.distribution-image@ubuntu # from ci-templates 176 - needs: 177 - - ubuntu:impish:container_prep 178 186 179 187 180 188 # Base for using Arch rolling image ··· 182 190 extends: 183 191 - .monado.variables.arch:rolling 184 192 - .fdo.distribution-image@arch # from ci-templates 185 - needs: 186 - - arch:rolling:container_prep 187 193 188 194 189 195 # Style check job ··· 505 511 506 512 - .monado.packaging.conditions 507 513 needs: 508 - - ubuntu:impish:container_prep 509 514 - debian:bullseye:package 510 515 - ubuntu:focal:package 511 516 - ubuntu:hirsute:package
+3 -3
.gitlab-ci/ci.template
··· 65 65 extends: 66 66 - .monado.variables.{{distro.name}}:{{image.codename}} 67 67 - .fdo.container-build@{{distro.name}} # from ci-templates 68 + only: 69 + changes: 70 + - .gitlab-ci/**/* 68 71 variables: 69 72 {# The packages list is actually a mapping, not an array, but the same syntax works. #} 70 73 {# Needed to be a mapping so it could be "merged" #} ··· 86 89 extends: 87 90 - .monado.variables.{{distro.name}}:{{image.codename}} 88 91 - .fdo.{{ "suffixed" if "repo_suffix" in image else "distribution" }}-image@{{distro.name}} # from ci-templates 89 - needs: 90 - - {{distro.name}}:{{image.codename}}:container_prep 91 92 92 93 {% endfor -%} {%- endfor %} 93 94 ··· 240 241 - {{ base_job_to_use_image_containing("reprepro") }} 241 242 - .monado.packaging.conditions 242 243 needs: 243 - - {{ base_job_to_use_image_containing("reprepro") | replace(".monado.image.", "") | trim + ":container_prep" }} 244 244 {% for distro in distributions -%} {%- for image in distro.images if "deb_version_suffix" in image %} 245 245 - {{packaging_job_name(distro, image)}} 246 246 {% endfor -%} {%- endfor %}