diff options
| -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 |
