mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
ci: don't run gtk tests in CI
This commit is contained in:
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -87,7 +87,7 @@ jobs:
|
|||||||
nix_path: nixpkgs=channel:nixos-unstable
|
nix_path: nixpkgs=channel:nixos-unstable
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
run: nix develop -c zig build test
|
run: nix develop -c zig build -Dapp-runtime=none test
|
||||||
|
|
||||||
- name: Test GTK Build
|
- name: Test GTK Build
|
||||||
run: nix develop -c zig build -Dapp-runtime=gtk
|
run: nix develop -c zig build -Dapp-runtime=gtk
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
{ mkShell, lib, stdenv
|
{ mkShell, lib, stdenv
|
||||||
|
|
||||||
, bashInteractive
|
, bashInteractive
|
||||||
, debugedit
|
|
||||||
, flatpak-builder
|
|
||||||
, gdb
|
, gdb
|
||||||
, glxinfo
|
, glxinfo
|
||||||
, ncurses
|
, ncurses
|
||||||
@ -92,10 +90,6 @@ in mkShell rec {
|
|||||||
# by default so we have to include this.
|
# by default so we have to include this.
|
||||||
bashInteractive
|
bashInteractive
|
||||||
|
|
||||||
# Flatpak builds
|
|
||||||
debugedit
|
|
||||||
flatpak-builder
|
|
||||||
|
|
||||||
gdb
|
gdb
|
||||||
valgrind
|
valgrind
|
||||||
wraptest
|
wraptest
|
||||||
|
@ -25,7 +25,7 @@ pub const surface = @import("apprt/surface.zig");
|
|||||||
/// Window or something.
|
/// Window or something.
|
||||||
pub const runtime = switch (build_config.artifact) {
|
pub const runtime = switch (build_config.artifact) {
|
||||||
.exe => switch (build_config.app_runtime) {
|
.exe => switch (build_config.app_runtime) {
|
||||||
.none => @compileError("exe with no runtime not allowed"),
|
.none => struct {},
|
||||||
.glfw => glfw,
|
.glfw => glfw,
|
||||||
.gtk => gtk,
|
.gtk => gtk,
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user