blob: 24cad7dd460ad868d6dc769fee265056c1c87808 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
# CI Docker Images
> **Purpose**: Minimal Qt build images for CI testing
> **Latest Version**: 0.0.5-1
---
## Overview
These are minimal Docker images containing Qt built from source with specific options for CI testing purposes.
---
## Why Custom Images?
The standard `jurplel/install-qt-action` downloads pre-built Qt binaries, but:
- ❌ Does not support all build options
- ❌ Cannot test `-qt-zlib` builds
- ❌ Limited configuration options
Our custom images provide:
- ✅ Qt built with `-qt-zlib` option
- ✅ Testing `QUAZIP_USE_QT_ZLIB=ON` builds
- ✅ Full control over Qt configuration
---
## Available Images
| Image | Qt Version | Platform |
|-------|------------|----------|
| `qt-minimal-linux` | Qt 6.x | Ubuntu |
| `qt-minimal-static` | Qt 6.x (static) | Ubuntu |
---
## Usage in CI
```yaml
jobs:
test:
runs-on: ubuntu-latest
container: ghcr.io/project-tick/qt-minimal-linux:latest
steps:
- uses: actions/checkout@v4
- run: cmake -B build -DQUAZIP_USE_QT_ZLIB=ON
- run: cmake --build build
```
---
## Building Images
```bash
cd ci/images
docker build -t qt-minimal-linux -f Dockerfile.linux .
```
---
## Related Documentation
- [Workflows](./workflows.md) — CI overview
- [QuaZip](./quazip.md) — Uses these images for testing
|