diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ffe7da7..bae3c4b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,11 +15,6 @@ jobs: opt: ['', '-O0', '-O3'] assert: ['--enable-assert', '--disable-assert'] guard: ['--enable-guard', '--disable-guard'] - werror: - - cflag: '-Werror' - mb2: '--without-multiboot2' - - cflag: '' - mb2: '--with-multiboot2' steps: - uses: actions/checkout@v2 - name: dependencies @@ -27,7 +22,7 @@ jobs: - name: autogen run: ./autogen.sh - name: configure - run: ./configure ${{matrix.assert}} ${{matrix.guard}} ${{matrix.werror.mb2}} CC='${{matrix.cc}}' CFLAGS='${{matrix.opt}} ${{matrix.werror.cflag}}' + run: ./configure ${{matrix.assert}} ${{matrix.guard}} CC='${{matrix.cc}}' CFLAGS='${{matrix.opt}}' - name: make run: make - name: check diff --git a/Makefile.am b/Makefile.am index 57ecdc5..c9d1a39 100644 --- a/Makefile.am +++ b/Makefile.am @@ -5,6 +5,7 @@ AM_CFLAGS = \ -pedantic \ -Wall \ -Wextra \ + -Wno-cast-function-type \ -I$(top_srcdir)/include lib_LIBRARIES = libkernaux.a