mirror of
https://github.com/tailix/libkernaux.git
synced 2025-02-24 15:55:41 -05:00
Fix CI
This commit is contained in:
parent
7ae495fdba
commit
03df12697e
1 changed files with 7 additions and 2 deletions
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
|
@ -13,7 +13,12 @@ jobs:
|
|||
matrix:
|
||||
# TODO: something is wrong with TCC, Multiboot 2 info tag struct size
|
||||
#cc: ['gcc', 'clang', 'tcc']
|
||||
cc: ['gcc', 'clang']
|
||||
cc:
|
||||
- cc: 'gcc'
|
||||
werror: ''
|
||||
- cc: 'clang'
|
||||
# FIXME: -Werror: unknown warning option '-Wno-cast-function-type'
|
||||
werror: '--disable-werror'
|
||||
opt: ['', '-O0', '-O3']
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
@ -22,7 +27,7 @@ jobs:
|
|||
- name: autogen
|
||||
run: ./autogen.sh
|
||||
- name: configure
|
||||
run: ./configure --enable-tests CC='${{matrix.cc}}' CFLAGS='${{matrix.opt}}'
|
||||
run: ./configure --enable-tests ${{matrix.cc.werror}} CC='${{matrix.cc.cc}}' CFLAGS='${{matrix.opt}}'
|
||||
- name: make
|
||||
run: make
|
||||
- name: check
|
||||
|
|
Loading…
Add table
Reference in a new issue