From d26f6c0bf005d845a1615023fd518490337ed5fb Mon Sep 17 00:00:00 2001 From: Gregory Lirent Date: Mon, 22 Jun 2026 16:32:47 +0300 Subject: [PATCH] Install file(1) in the Debian CI job so shlibdeps can run cpack's CPACK_DEBIAN_PACKAGE_SHLIBDEPS runs dpkg-shlibdeps, which needs the file utility to detect ELF binaries and derive the runtime libc dependency. The slim CI image does not ship it, so packaging failed at the cpack step. Add file to the job toolchain. --- .gitea/workflows/release.yml | 2 +- CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 276369c..c5e6e9c 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -86,7 +86,7 @@ jobs: run: | apt-get update apt-get install -y --no-install-recommends \ - cmake make gcc libc6-dev dpkg-dev \ + cmake make gcc libc6-dev dpkg-dev file \ gcc-mingw-w64-x86-64 ca-certificates curl - name: Configure diff --git a/CMakeLists.txt b/CMakeLists.txt index 2150bf4..932f369 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.18) # find_program(... REQUIRED) -set(VMIE_VERSION "0.1.4" CACHE STRING "Library version (MAJOR.MINOR.PATCH); CI passes the tag") +set(VMIE_VERSION "0.1.5" CACHE STRING "Library version (MAJOR.MINOR.PATCH); CI passes the tag") project(vmi-engine VERSION ${VMIE_VERSION} LANGUAGES C) set(CMAKE_C_STANDARD 17) # generation B uses no C23 feature