diff options
| author | TazyFoundSoup <gardendistrict0x0@outlook.com> | 2026-04-15 17:33:19 +1000 |
|---|---|---|
| committer | TazyFoundSoup <gardendistrict0x0@outlook.com> | 2026-04-15 17:33:19 +1000 |
| commit | c4836057209ad7961b07518e43c8ba2277258513 (patch) | |
| tree | 638104745bb3edf4425201ff9d61a24ff60fb9c9 | |
| parent | 7106141e65f2e358248d0766118cd389d7eb4cb1 (diff) | |
feat(Makefile): Add png_tests
| -rw-r--r-- | .github/workflows/c-cpp.yml | 23 | ||||
| -rw-r--r-- | Makefile | 13 |
2 files changed, 12 insertions, 24 deletions
diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml deleted file mode 100644 index 5757abd..0000000 --- a/.github/workflows/c-cpp.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: C/C++ CI - -on: - push: - branches: [ "master" ] - pull_request: - branches: [ "master" ] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - - name: Make (GCC) - run: make CC=gcc - - - name: Clean before Clang - run: make clean - - - name: Make (Clang) - run: make CC=clang @@ -44,4 +44,15 @@ asan: CC=clang asan: CFLAGS += $(SANFLAGS) asan: clean all -.PHONY: all clean debug release asan +# Currently supporting: +# Images +# - png +# - bmp (WIP) + +test-png: clean + $(MAKE) USE_HOSTED=1 + $(CC) $(CFLAGS) -DUSE_HOSTED tests/format/image/png/png_open.c -o png_test -Iinclude/bridges -Ldist -ltinyff && ./png_test + +test: test-png + +.PHONY: all clean debug release asan test test-png |
