mirror of
https://github.com/tailix/libkernaux.git
synced 2024-11-27 11:14:42 -05:00
Fix warnings
This commit is contained in:
parent
603ba7bfc3
commit
6f4190ed8d
2 changed files with 2 additions and 6 deletions
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
|
@ -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
|
||||
|
|
|
@ -5,6 +5,7 @@ AM_CFLAGS = \
|
|||
-pedantic \
|
||||
-Wall \
|
||||
-Wextra \
|
||||
-Wno-cast-function-type \
|
||||
-I$(top_srcdir)/include
|
||||
|
||||
lib_LIBRARIES = libkernaux.a
|
||||
|
|
Loading…
Reference in a new issue