ci: remove unnecessary -Wall and -Werror options

The oprion --strict-warnings automatically turns on -Wall and -Werror so there
is no requirement to specify the latter two separately.

Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27204)
This commit is contained in:
Pauli 2025-03-31 12:18:01 +11:00 committed by Tomas Mraz
parent 0162f75fb1
commit d04ea9af79
3 changed files with 4 additions and 4 deletions

View File

@ -512,7 +512,7 @@ jobs:
- name: checkout fuzz/corpora submodule
run: git submodule update --init --depth 1 fuzz/corpora
- name: config
run: ./config --banner=Configured -Werror --debug no-afalgeng enable-demos enable-h3demo no-shared enable-crypto-mdebug enable-rc5 enable-md2 enable-ssl3 enable-ssl3-method enable-weak-ssl-ciphers enable-zlib enable-ec_nistp_64_gcc_128 no-fips && perl configdata.pm --dump
run: ./config --banner=Configured --strict-warnings --debug no-afalgeng enable-demos enable-h3demo no-shared enable-crypto-mdebug enable-rc5 enable-md2 enable-ssl3 enable-ssl3-method enable-weak-ssl-ciphers enable-zlib enable-ec_nistp_64_gcc_128 no-fips && perl configdata.pm --dump
- name: make
run: make -s -j4
- name: get cpu info

View File

@ -104,7 +104,7 @@ jobs:
- name: config
run: |
CC=${{ matrix.zoo.cc }} ./config --banner=Configured no-shared \
-Wall -Werror enable-fips --strict-warnings
enable-fips --strict-warnings
- name: config dump
run: ./configdata.pm --dump

View File

@ -38,7 +38,7 @@ jobs:
- uses: actions/checkout@v4
- name: config
run: |
./config --banner=Configured no-shared -Wall -Werror enable-fips --strict-warnings \
./config --banner=Configured no-shared enable-fips --strict-warnings \
${EXTRA_CFLAGS}
- name: config dump
run: ./configdata.pm --dump
@ -109,7 +109,7 @@ jobs:
- name: checkout fuzz/corpora submodule
run: git submodule update --init --depth 1 fuzz/corpora
- name: config
run: ./config --banner=Configured -Wall -Werror --strict-warnings enable-fips
run: ./config --banner=Configured --strict-warnings enable-fips
- name: config dump
run: ./configdata.pm --dump
- name: make