diff --git a/.github/workflows/build-yocto.yml b/.github/workflows/build-yocto.yml index b710c8229..bd2d73eaf 100644 --- a/.github/workflows/build-yocto.yml +++ b/.github/workflows/build-yocto.yml @@ -29,7 +29,7 @@ env: CACHE_DIR: /efsx/qli/meta-qcom KAS_CLONE_DEPTH: 1 KAS_CONTAINER: ${{ github.workspace }}/kas-container - KAS_CONTAINER_IMAGE: ghcr.io/siemens/kas/kas:5.5 + KAS_CONTAINER_IMAGE: ghcr.io/siemens/kas/kas@sha256:3f3d3257e8d4ca3adfcb2e0025e6da24339fb8d68a6999ca36c37381351582d5 # 5.5-9-g0555188 jobs: kas-setup: diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index 1b15562b8..9d2355738 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -42,7 +42,7 @@ on: env: KAS_CLONE_DEPTH: 1 KAS_CONTAINER: ${{ github.workspace }}/kas-container - KAS_CONTAINER_IMAGE: ghcr.io/siemens/kas/kas:5.5 + KAS_CONTAINER_IMAGE: ghcr.io/siemens/kas/kas@sha256:3f3d3257e8d4ca3adfcb2e0025e6da24339fb8d68a6999ca36c37381351582d5 # 5.5-9-g0555188 jobs: reusable_compile_job: diff --git a/ci/ccache.yml b/ci/ccache.yml new file mode 100644 index 000000000..fb5b732e6 --- /dev/null +++ b/ci/ccache.yml @@ -0,0 +1,31 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/siemens/kas/master/kas/schema-kas.json + +header: + version: 14 + +local_conf_header: + ccache: | + INHERIT += "ccache" + CCACHE_MAXSIZE = "200G" + CCACHE_TOP_DIR = "${SSTATE_DIR}/ccache" + # required to build '-native' target + HOSTTOOLS += "ccache" + ASSUME_PROVIDED += "ccache-native" + + ccache-recipe-contol: | + # disable all recipes + CCACHE_DISABLE = "1" + # table with enabled recipes + CCACHE_DISABLE:pn-clang = "0" + CCACHE_DISABLE:pn-clang-native = "0" + CCACHE_DISABLE:pn-gcc = "0" + CCACHE_DISABLE:pn-gcc-cross-aarch64 = "0" + CCACHE_DISABLE:pn-gcc-cross-arm = "0" + CCACHE_DISABLE:pn-glibc = "0" + CCACHE_DISABLE:pn-llvm = "0" + CCACHE_DISABLE:pn-llvm-native = "0" + CCACHE_DISABLE:pn-linux-qcom = "0" + CCACHE_DISABLE:pn-linux-qcom-next = "0" + CCACHE_DISABLE:pn-linux-yocto = "0" + CCACHE_DISABLE:pn-rust = "0" + CCACHE_DISABLE:pn-rust-native = "0" diff --git a/ci/ci.yml b/ci/ci.yml index 5dffb4786..c0298213d 100644 --- a/ci/ci.yml +++ b/ci/ci.yml @@ -4,6 +4,7 @@ header: version: 14 includes: - ci/mirror.yml + - ci/ccache.yml local_conf_header: ci: |