adding windows CI
Some checks failed
Windows / build (windows-x86_64) (push) Failing after 19s
Windows / build (ubuntu-latest) (push) Failing after 1m31s
Windows / build (macos-x86_64) (push) Failing after 3m10s

This commit is contained in:
2026-01-18 15:55:18 +01:00
parent e64ba6870b
commit 394d2dc358
6 changed files with 61 additions and 75 deletions

View File

@@ -1,10 +0,0 @@
NAME = ./test
CC = clang
all : $(NAME)
$(NAME):
$(CC) -o $(NAME) main.c -lvulkan -lSDL2 -g
.PHONY: all

11
sandbox/xmake.lua git.filemode.normal_file
View File

@@ -0,0 +1,11 @@
add_requires("libsdl2", { configs = { sdlmain = false } })
add_requires("vulkan-headers")
target("test")
set_kind("binary")
add_linkdirs("./")
add_files("main.c", { languages = "c99" })
add_defines("SDL_MAIN_HANDLED")
add_packages("libsdl2", "vulkan-headers")
add_syslinks("vulkan")
target_end()