Stop on warnings for CI
This commit is contained in:
1 parent
535e45d564
commit
6ad02ffe56
1 file changed
+6
-6
@@ -12,10 +12,10 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: make check C99
|
- name: make check C99
|
||||||
run: make check
|
run: make clean check CC="cc -std=c99 -Wno-unknown-warning-option -Werror"
|
||||||
- name: make check C11
|
- name: make check C11
|
||||||
working-directory: ./tests
|
working-directory: ./tests
|
||||||
run: make clean check CC="cc -std=c11"
|
run: make clean check CC="cc -std=c11 -Wno-unknown-warning-option -Werror"
|
||||||
- name: make check C++
|
- name: make check C++
|
||||||
working-directory: ./tests
|
working-directory: ./tests
|
||||||
run: make clean check CC="c++ -std=c++11"
|
run: make clean check CC="c++ -std=c++11"
|
||||||
@@ -27,12 +27,12 @@ jobs:
|
|||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: install multilib
|
- name: install multilib
|
||||||
run: sudo apt-get install gcc-multilib
|
run: sudo apt-get install gcc-multilib
|
||||||
- name: make check C99
|
- name: make check C99 (32bits)
|
||||||
working-directory: ./tests
|
working-directory: ./tests
|
||||||
run: make clean check CC="gcc -m32 -std=c99"
|
run: make clean check CC="gcc -m32 -std=c99 -Wno-unknown-warning-option -Werror"
|
||||||
- name: make check C11
|
- name: make check C11 (32bits)
|
||||||
working-directory: ./tests
|
working-directory: ./tests
|
||||||
run: make clean check CC="gcc -m32 -std=c11"
|
run: make clean check CC="gcc -m32 -std=c11 -Wno-unknown-warning-option -Werror"
|
||||||
|
|
||||||
build_linux_tcc:
|
build_linux_tcc:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in new issue
Block a user