The open source OpenXR runtime
0
fork

Configure Feed

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

ci: Publish packages in an apt repo in artifacts.

+37 -5
+22 -5
.gitlab-ci.yml
··· 11 11 variables: 12 12 CORE_REQUIRED_PACKAGES: "build-essential git wget unzip cmake meson ninja-build libeigen3-dev curl patch python3 pkg-config libx11-dev libx11-xcb-dev libxxf86vm-dev libxrandr-dev libxcb-randr0-dev libvulkan-dev glslang-tools libglvnd-dev libgl1-mesa-dev ca-certificates libusb-1.0-0-dev libudev-dev" 13 13 FEATURE_PACKAGES: "libhidapi-dev libwayland-dev libuvc-dev libavcodec-dev libopencv-dev libv4l-dev libcjson-dev libsdl2-dev libegl1-mesa-dev" 14 - PACKAGING_PACKAGES: "devscripts debhelper osc osc-plugins-dput" 14 + PACKAGING_PACKAGES: "devscripts debhelper osc osc-plugins-dput reprepro" 15 15 TOOLS_REQUIRED_PACKAGES: "clang-format-7 codespell doxygen graphviz python3-pip python3-click" 16 16 17 17 # Variables for build and usage of Debian 10 (Buster) image 18 18 .monado.debian:buster: 19 19 variables: 20 20 FDO_DISTRIBUTION_VERSION: buster 21 - FDO_DISTRIBUTION_TAG: "2020-05-06.1" 21 + FDO_DISTRIBUTION_TAG: "2020-05-06.2" 22 22 23 23 # Variables for build and usage of Ubuntu 20.04 LTS (Focal) image 24 24 .monado.ubuntu:focal: 25 25 variables: 26 26 FDO_DISTRIBUTION_VERSION: "20.04" 27 - FDO_DISTRIBUTION_TAG: "2020-05-06.1" 27 + FDO_DISTRIBUTION_TAG: "2020-05-06.2" 28 28 29 29 # Variables for build and usage of Debian 10 (Buster) + Android NDK image 30 30 .monado.debian:buster-ndk: ··· 242 242 stage: package 243 243 only: 244 244 - master 245 + before_script: 246 + # Convince gnupg to work properly in CI 247 + - mkdir -p ~/.gnupg && chmod 700 ~/.gnupg 248 + - touch ~/.gnupg/gpg.conf 249 + - echo 'use-agent' > ~/.gnupg/gpg.conf 250 + - echo 'pinentry-mode loopback' >> ~/.gnupg/gpg.conf 251 + - touch ~/.gnupg/gpg-agent.conf 252 + - echo 'allow-loopback-pinentry' > ~/.gnupg/gpg-agent.conf 253 + - echo RELOADAGENT | gpg-connect-agent 254 + - gpg --batch --no-tty --yes --pinentry-mode loopback --passphrase ${MONADO_GPG_PASSPHRASE} --import ${MONADO_GPG_SECRET_KEY} 245 255 script: 256 + # Prep the source tree 246 257 - git clean -dfx 247 258 - git config --global user.email "ryan.pavlik@collabora.com" 248 259 - git config --global user.name "Monado CI" 249 260 - git merge origin/${PACKAGE_BRANCH} --no-commit 250 261 - FULLNAME="Monado CI <ryan.pavlik@collabora.com>" debian/extra/prepare-commit-package.sh ${CI_COMMIT_SHA} 1~${BACKPORT_SUFFIX}~ci$(date --utc "+%Y%m%d") 262 + # Build the package 251 263 - debuild -uc -us 264 + # Sign the package 265 + - debsign -k ${MONADO_GPG_FINGERPRINT} -p "gpg --batch --no-tty --yes --pinentry-mode loopback --passphrase ${MONADO_GPG_PASSPHRASE}" 266 + # Use reprepro to create an apt repository in our artifacts 252 267 - mkdir ${DISTRO} 253 - - cp ../*.deb ${DISTRO}/ 268 + - mkdir ${DISTRO}/conf 269 + - cp .gitlab-ci/distributions ${DISTRO}/conf 270 + - reprepro -V --ignore=wrongdistribution -b ${DISTRO} include ${DISTRO} ../monado_$(dpkg-parsechangelog --show-field version)_amd64.changes 254 271 artifacts: 255 272 paths: 256 - - "${DISTRO}/*.deb" 273 + - "${DISTRO}/" 257 274 expire_in: 30 days 258 275 259 276 debian:buster:package:
+15
.gitlab-ci/distributions
··· 1 + Origin: monado.freedesktop.org 2 + Description: Monado CI apt repository 3 + Codename: focal 4 + Architectures: amd64 i386 source 5 + Components: main 6 + Tracking: minimal 7 + SignWith: 43D1A31F598523E0CE948FCF065BE417396AA28E 8 + 9 + Origin: monado.freedesktop.org 10 + Description: Monado CI apt repository 11 + Codename: buster 12 + Architectures: amd64 i386 source 13 + Components: main 14 + Tracking: minimal 15 + SignWith: 43D1A31F598523E0CE948FCF065BE417396AA28E