--- include: - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/recipes/debian.yml variables: # gbp-setup-gitattributes mangled line endings during checkout SALSA_CI_DISABLE_GBP_SETUP_GITATTRIBUTES: yes # SCons currently not configured properly for cross-build SALSA_CI_DISABLE_CROSSBUILD_ARM64: yes # Save CI resources when building this large package # Builds already take a long time and consume lots of Salsa CI runner SALSA_CI_DISABLE_BUILD_PACKAGE_I386: yes SALSA_CI_DISABLE_BUILD_PACKAGE_ANY: yes # Disable reprotest/debrebuild that is timing out. It should be investigated # and re-enabled later, but it is not a high priority compared to other # package maintenance tasks, and anyway reprotest for such a huge package a # massive resource hog, and we may decide to not run it on the pipeline at # all. SALSA_CI_DISABLE_REPROTEST: 1 SALSA_CI_DISABLE_DEBREBUILD: 1 SALSA_CI_BLHC_ARGS: '--ignore-flag -g' # Godot is a massively big package - extend timeout to 3h so that build has more # time to run, and in case almost 3h isn't enough, the # SALSA_CI_BUILD_TIMEOUT_ARGS will kick in at 2.75h and save the ccache build: variables: CCACHE_HOST_DIR: ${CI_PROJECT_DIR}/.ccache CCACHE_MAXSIZE: 3G # builds can run out of disk space at default 5G limit SALSA_CI_SBUILD_ARGS: '--add-depends=ccache' # Salsa CI sets noautodbgsym by default so *-dbgsym packages aren't created. # However, the default build flags still include -g, which enables generation # of debug symbols at build time. This fills up the limited runner disk space # with Godot's large debug symbol space requirements (~3-5GB) and causes CI # runs to fail. DEB_CFLAGS_STRIP: -g DEB_CXXFLAGS_STRIP: -g # Allow DEB_*_STRIP env vars into sbuild environment SBUILD_CONFIG: 'debian/ci/sbuild.conf.pl' extends: .build-package before_script: - mkdir -p "${CCACHE_HOST_DIR}" - chmod -R a+rwX "${CCACHE_HOST_DIR}" cache: when: always key: "godot-ccache-${CI_COMMIT_REF_SLUG}" paths: - .ccache/ timeout: 3h