Commit dc1371c
authored
feat: add aw-tauri CI builds alongside aw-qt (#1209)
* ci(build): modernize runners, node, cache keys for aw-qt CI
- Ubuntu 22.04 → 24.04, add macos-latest alongside macOS-13
- Node 20 → 22
- Fix macOS Python setup condition (matrix.os instead of runner.os)
- Use matrix.os in cache keys for unique per-variant caching
- Enable cargo cache on macOS (was disabled)
- Fix qt5-default → qt5-qmake + qtbase5-dev (ubuntu-24.04)
- Fix artifact upload name collision (matrix.os)
- Fix typo: 'Wether' → 'Whether'
* feat: add aw-tauri and awatcher submodules
aw-tauri is the Tauri-based replacement for aw-qt (system tray).
awatcher is used on Linux for Wayland-compatible window watching.
* feat: add aw-tauri CI workflow, Makefile support, and packaging
Add a separate build-tauri.yml CI workflow that builds aw-tauri alongside
the existing aw-qt builds. The two build pipelines coexist independently.
Makefile changes:
- TAURI_BUILD=true flag switches between aw-qt and aw-tauri submodules
- aw-server-rust builds only aw-sync in Tauri mode (not full server)
- ICON points to aw-tauri icons when TAURI_BUILD is set
- Conditional packaging: aw-tauri app bundle on macOS, Inno Setup on Windows
Packaging:
- build_app_tauri.sh: macOS .app bundle creator for Tauri
- aw-tauri.iss: Windows Inno Setup with different AppId/AppName to avoid
colliding with existing aw-qt installations (addresses review comment)
- move-to-aw-modules.sh: Linux module discovery helper (rsync -a, proper
line continuation)
- README.txt: Linux end-user instructions (typos fixed)
- package-all.sh: Tauri-aware zip/installer selection
Build-tauri.yml features:
- Multi-OS: ubuntu-24.04, ubuntu-24.04-arm, windows-latest, macOS-13,
macos-latest
- Retry wrapper (nick-fields/retry) for flaky builds
- Separate artifact names (builds-tauri-*) to not collide with aw-qt
- Tauri-specific APT deps (libgtk-3-dev, libwebkit2gtk-4.1-dev, etc.)
Also updates contributor CSV files (brayo-pip → 0xbrayo).
Based on work by @0xbrayo in PR #1163.
* ci: fix macOS-13 runner label casing (macOS-13 -> macos-13)
GitHub Actions runner labels are case-sensitive. `macOS-13` (capital OS)
is not a valid runner label and causes CI failures. The correct label is
`macos-13` (all lowercase). Fix this in both build.yml and build-tauri.yml.
* ci: replace deprecated macos-13 with macos-14 runner
macos-13 (x86_64) is deprecated by GitHub Actions. Replace with macos-14
(ARM64/Apple Silicon) in both build.yml and build-tauri.yml. Also remove
the macos-13-specific Python workaround (custom pkg install for macOS 10.9
compatibility) since macos-14 uses standard actions/setup-python.
* ci: upgrade Poetry from 1.3.2 to 1.4.2 to fix Windows race condition
Poetry 1.3.x has a known Windows file-locking race condition when
installing packages (tilde-prefixed dist-info temp files cause OSError).
Version 1.4.0+ fixes this. Using 1.4.2 (last release in 1.4.x series)
to stay on same lockfile format as 1.3.x.
Fixes: Windows CI failure in jobs that run 'poetry install'
* ci: cache node_modules and aw-tauri cargo target to reduce build times
- Cache node_modules directly instead of npm global cache. The global
cache only saves download time, but npm ci still does a full install
into node_modules every run (~5-7 min per npm ci call). Caching
node_modules directly skips this entirely on cache hit.
- Cache aw-tauri/src-tauri/target alongside aw-server-rust/target in
the Tauri workflow. The Tauri Cargo release build takes ~8 min
uncached and was not being cached previously.
- Also cache aw-tauri/node_modules in the Tauri workflow (has its own
package-lock.json separate from aw-webui).
Expected improvement: ~15-20 min savings on cached Windows Tauri builds
(from ~34 min to ~15 min).1 parent ab3316b commit dc1371c
File tree
13 files changed
+525
-60
lines changed- .github/workflows
- scripts
- package
13 files changed
+525
-60
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 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 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | 56 | | |
58 | 57 | | |
59 | 58 | | |
60 | 59 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | 60 | | |
82 | 61 | | |
83 | 62 | | |
| |||
91 | 70 | | |
92 | 71 | | |
93 | 72 | | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
| 73 | + | |
| 74 | + | |
101 | 75 | | |
102 | | - | |
103 | | - | |
104 | 76 | | |
105 | | - | |
106 | | - | |
| 77 | + | |
| 78 | + | |
107 | 79 | | |
108 | | - | |
| 80 | + | |
109 | 81 | | |
110 | 82 | | |
111 | 83 | | |
112 | | - | |
| 84 | + | |
113 | 85 | | |
114 | 86 | | |
115 | 87 | | |
116 | 88 | | |
117 | 89 | | |
118 | | - | |
| 90 | + | |
119 | 91 | | |
120 | | - | |
| 92 | + | |
121 | 93 | | |
122 | 94 | | |
123 | 95 | | |
| |||
126 | 98 | | |
127 | 99 | | |
128 | 100 | | |
129 | | - | |
| 101 | + | |
| 102 | + | |
130 | 103 | | |
131 | 104 | | |
132 | 105 | | |
| |||
147 | 120 | | |
148 | 121 | | |
149 | 122 | | |
150 | | - | |
| 123 | + | |
151 | 124 | | |
152 | 125 | | |
153 | 126 | | |
| |||
223 | 196 | | |
224 | 197 | | |
225 | 198 | | |
226 | | - | |
| 199 | + | |
227 | 200 | | |
228 | 201 | | |
229 | 202 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
0 commit comments