ci: add proper ci
Clang Lint CI / lint-video (push) Failing after 59s
Clang Build CI / run-no-video (push) Successful in 1m6s
Clang Build CI / run-video (push) Successful in 1m24s
Clang Build CI / build-release (push) Successful in 2m0s
Clang Lint CI / lint-no-video (push) Successful in 1m55s
Clang Lint CI / lint-video (push) Failing after 59s
Clang Build CI / run-no-video (push) Successful in 1m6s
Clang Build CI / run-video (push) Successful in 1m24s
Clang Build CI / build-release (push) Successful in 2m0s
Clang Lint CI / lint-no-video (push) Successful in 1m55s
This commit is contained in:
+18
-19
@@ -25,6 +25,23 @@ build:
|
||||
-o build/$(TARGET) \
|
||||
-g -Og
|
||||
|
||||
.PHONY: build-no-video
|
||||
build-no-video:
|
||||
@mkdir -p build
|
||||
gcc \
|
||||
src/*.h src/*.c \
|
||||
-Iinclude \
|
||||
hashmap.c/hashmap.c \
|
||||
log.c/src/log.c \
|
||||
-lm -lGL -lglfw -lasound -lbsd \
|
||||
-Wall -Wextra \
|
||||
-Wno-format-truncation \
|
||||
-DGLFW_INCLUDE_NONE \
|
||||
-DGLFW_NATIVE_INCLUDE_NONE \
|
||||
-DLOG_USE_COLOR \
|
||||
-o build/$(TARGET) \
|
||||
-g -Og
|
||||
|
||||
.PHONY: format
|
||||
format:
|
||||
clang-format -i src/*
|
||||
@@ -50,25 +67,7 @@ valgrind: build
|
||||
|
||||
.PHONY: clean-release
|
||||
clean-release:
|
||||
@rm -rf \
|
||||
autom4te.cache \
|
||||
aclocal.m4 \
|
||||
compile \
|
||||
config.* \
|
||||
configure \
|
||||
configure~ \
|
||||
depcomp \
|
||||
**/.deps \
|
||||
**/**/.deps \
|
||||
$(TARGET) \
|
||||
$(TARGET)-*.tar.gz \
|
||||
$(TARGET)-*.pkg.tar.zst \
|
||||
install-sh \
|
||||
Makefile \
|
||||
Makefile.in \
|
||||
missing \
|
||||
src/.* \
|
||||
src/*.o
|
||||
git clone -f -x
|
||||
|
||||
.PHONY: test-release
|
||||
test-release: clean clean-release
|
||||
|
||||
Reference in New Issue
Block a user