ci: don't run gtk tests in CI

This commit is contained in:
Mitchell Hashimoto
2023-09-18 15:46:57 -07:00
parent ed0a2ecfc4
commit 90b5fdeede
3 changed files with 2 additions and 8 deletions

View File

@ -87,7 +87,7 @@ jobs:
nix_path: nixpkgs=channel:nixos-unstable
- name: test
run: nix develop -c zig build test
run: nix develop -c zig build -Dapp-runtime=none test
- name: Test GTK Build
run: nix develop -c zig build -Dapp-runtime=gtk

View File

@ -1,8 +1,6 @@
{ mkShell, lib, stdenv
, bashInteractive
, debugedit
, flatpak-builder
, gdb
, glxinfo
, ncurses
@ -92,10 +90,6 @@ in mkShell rec {
# by default so we have to include this.
bashInteractive
# Flatpak builds
debugedit
flatpak-builder
gdb
valgrind
wraptest

View File

@ -25,7 +25,7 @@ pub const surface = @import("apprt/surface.zig");
/// Window or something.
pub const runtime = switch (build_config.artifact) {
.exe => switch (build_config.app_runtime) {
.none => @compileError("exe with no runtime not allowed"),
.none => struct {},
.glfw => glfw,
.gtk => gtk,
},