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)
- 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
- 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
- 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
- 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