Commit Graph
26 Commits
Author SHA1 Message Date
Agel 1c83b4cb6b moaaar ci changes 2026-11-13 11:41:27 +01:00
Agel 1ef94b910a moar ci changes 2026-11-13 10:56:08 +01:00
Agel 5940d86ed2 ci: resolve missing Windows ARM64 runtime DLLs and add pipeline inputs
The Windows ARM64 release package failed to launch on startup due to missing
runtime DLLs (libdbus-1-3.dll, libmd4c.dll, zlib1.dll, libzstd.dll).

This failure stemmed from several architectural and CI pipeline issues:
1. CMake unconditionally linked Qt6::DBus whenever available in the sysroot,
   introducing an unnecessary dependency on Qt6DBus.dll and libdbus-1-3.dll
   on Windows, even though D-Bus portal dialogs are only used on Linux.
2. The Docker build environment installed MSYS2 ARM64 Qt packages via an
   unchecked shell loop against a hardcoded package list. This missed crucial
   transitive runtime dependencies (such as md4c, zlib-ng-compat, libb2, and
   ICU) and failed silently when downloads or extractions broke.
3. Windows packaging lacked PE import verification, allowing broken packages
   with unresolved dynamic links to be produced and published without warning.

To fix these issues and make image management more accessible:
- Restrict Qt6::DBus detection and linking in CMakeLists.txt to Linux only,
  eliminating the D-Bus dependency from Windows builds.
- Introduce scripts/download-mingw-arm64-qt.py to parse the MSYS2 clangarm64
  database, resolve the complete transitive dependency graph, and verify
  essential runtime DLLs during the Docker image build.
- Introduce scripts/verify-windows-dlls.py and integrate it into
  packaging/package-windows.sh to validate PE imports across the executable
  and bundled Qt plugins, failing packaging if any non-system DLL is missing.
- Expose FORCE_REBUILD_IMAGE as a typed GitLab CI pipeline input (spec: inputs)
  to provide an interactive dropdown when triggering manual pipelines in the UI,
  and trigger container rebuilds when the download script changes.
- Update AGENTS.md documentation to reflect the new dependency and packaging
  verification workflows.
2026-11-13 08:37:05 +01:00
Agel ff8ef105dd add macos ci build 2026-11-12 14:02:50 +01:00
Agel 8782a3be8a ci: add Windows on ARM64 cross-compilation and packaging jobs
- Add `build-windows-arm64` and `package-windows-arm64` stages to `.gitlab-ci.yml` and wire download links to wiki updates
- Create `scripts/mingw-w64-arm64-toolchain.cmake` targeting `Windows` / `aarch64` with LLVM-MinGW
- Update `docker/Dockerfile.build` with LLVM-MinGW toolchain, MSYS2 Qt 6.10 ARM64 packages, and ARM64 cross-compiled static libraries (libiconv, uchardet, zlib, minizip, libarchive)
- Isolate GCC x86_64 and LLVM-MinGW ARM64 toolchains in `scripts/mingw-w64-toolchain.cmake` and PATH configuration
- Refactor `packaging/package-windows.sh` to package both x86_64 and ARM64 runtime DLLs and support MSYS2 plugin/QML directory layouts
- Update `scripts/test-ci-windows.sh` with `--arm64`, `--only-arm64`, `--image`, and local image detection
- Guard `-mwindows` link flag with `if(MINGW)` in `CMakeLists.txt`
- Document Windows ARM64 build targets and instructions in `AGENTS.md` and `README.md`
2026-10-31 14:15:36 +01:00
Agel bb18197228 fix? build-windows 2026-05-24 08:41:21 +02:00
Agel e3766c8e55 fix? build-docker 2026-05-23 20:24:05 +02:00
Agel bfc50a67b8 CBR and folder formats 2026-05-23 00:15:35 +02:00
Agel 9e19a76a5a Fix thread warning 2026-04-16 22:50:03 +02:00
Agel 2568f9089b Add Mac support 2026-04-10 00:07:16 +02:00
Val 7ecb7f4f4f fix windows install 2026-04-03 18:08:07 +02:00
Agel a31b20534a Upgrade to Qt 6.10.3, refactor AppState for LibraryModel integration, add ChunkMeasurer tests, and update CI/docker configurations. 2026-04-03 13:55:28 +02:00
Agel 0303107fa2 added qt design studio install 2026-03-31 21:26:01 +02:00
Agel 51a58070ee build fix 2026-03-30 13:09:09 +02:00
Agel c9e07a5c8a build fix 2026-03-29 23:19:12 +02:00
Agel 49ae235e0c add some more modules 2026-03-29 23:13:16 +02:00
Agel b663a4d79d update scripts, readme and open sidebar on startup without book 2026-03-29 15:38:39 +02:00
Agel c62733bc26 windows icon fix 2026-03-20 09:19:33 +01:00
Agel 07f664a660 windows build fixes 2026-03-20 08:53:39 +01:00
Agel 22cdde9c6d fix linux build 2026-03-18 15:52:06 +01:00
Agel 29af1aa15e fixed windows release build 2026-03-18 15:45:01 +01:00
Agel 5598224141 update linux dep install 2026-03-17 12:07:44 +00:00
Agel 50d09f22cc Use custom image + wind build fixes 2026-03-16 20:04:21 +01:00
Agel 18e1ba1010 Gitlab CI/CD 2026-03-16 19:25:15 +01:00
Agel 97c79c17d3 few changes for running on windows 2026-03-16 11:29:43 +01:00
Agel 4d52c8cc60 Initial 2026-03-15 17:07:18 +01:00