apprt/gtk: inline adwaita checks so comptime disables conditional paths

This fixes building without libadwaita or building with an older version
of libadwaita. This also updates the CI to test this.
This commit is contained in:
Mitchell Hashimoto
2024-09-12 09:32:49 -07:00
parent 3558ac9a53
commit 4cacea3813
4 changed files with 16 additions and 7 deletions

View File

@@ -323,6 +323,9 @@ jobs:
- name: Test GTK Build
run: nix develop -c zig build -Dapp-runtime=gtk -Dgtk-libadwaita=true -Demit-docs
- name: Test GTK Build (No Libadwaita)
run: nix develop -c zig build -Dapp-runtime=gtk -Dgtk-libadwaita=false -Demit-docs
- name: Test GLFW Build
run: nix develop -c zig build -Dapp-runtime=glfw