From 2da07fd8f275cbb59e7ef68a795c7cf95e5e8e51 Mon Sep 17 00:00:00 2001 From: Jax Calder Date: Wed, 28 Oct 2026 15:16:23 +0000 Subject: [PATCH] release: compress the modules with deflate The packages of a release are built with -DDMOD_COMPRESSION_METHOD=deflate (RFC 1951, by dmcomp): the .dmfc files are ~20 % smaller than the fastlz ones - the modules of the internal flash of the dmod-boot firmware, 215 kB with FastLZ, are 172 kB. CI and the local builds keep the default (fastlz). A loader needs the deflate decoder (dmod >= 8264cbb, dmod-boot#151), so this should be released after the firmware has it. Co-Authored-By: Claude Sonnet 5.5 --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a979295..3822e37 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -95,7 +95,7 @@ jobs: # assembles build_$ARCH_DIR_NAME/packages// for every module # defined in this repo's CMake config - nothing left to do here but # discover whatever got packaged, add release notes, and zip it. - cmake .. -DDMOD_TOOLS_NAME=arch/${{ matrix.arch_name }} -DDMOD_MODULE_VERSION="${{ steps.get_version.outputs.version }}" + cmake .. -DDMOD_TOOLS_NAME=arch/${{ matrix.arch_name }} -DDMOD_MODULE_VERSION="${{ steps.get_version.outputs.version }}" -DDMOD_COMPRESSION_METHOD=deflate cmake --build . echo "Build completed for ${{ matrix.arch_name }}"