aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2023-06-08 17:24:16 +0900
committerGitHub <noreply@github.com>2023-06-08 17:24:16 +0900
commit70894683e156df6f72991602c156c88a3c0b2f99 (patch)
treeee0eea9c4994734c7c442b98782ea9a77a0411ae
parent6f1c061fb4d4331a6a645a572b7120f41fa3c173 (diff)
parent52402f6a1cad79f5b8f7d1831ef3c3fd4387db62 (diff)
downloadruby-openssl-70894683e156df6f72991602c156c88a3c0b2f99.tar.gz
Merge pull request #631 from junaruga/wip/check-compiler-warnings
CI: Check compiler warnings.
-rw-r--r--.github/workflows/test.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 84b0580b..30bda38c 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -47,6 +47,10 @@ jobs:
run: echo "MAKEFLAGS=V=1" >> $GITHUB_ENV
if: runner.os == 'Linux' || runner.os == 'macOS'
+ - name: set flags to check compiler warnings.
+ run: echo "RUBY_OPENSSL_EXTCFLAGS=-Werror" >> $GITHUB_ENV
+ if: ${{ !matrix.skip-warnings }}
+
- name: compile
run: rake compile -- --enable-debug
@@ -142,6 +146,10 @@ jobs:
run: echo "MAKEFLAGS=V=1" >> $GITHUB_ENV
if: runner.os == 'Linux' || runner.os == 'macOS'
+ - name: set flags to check compiler warnings.
+ run: echo "RUBY_OPENSSL_EXTCFLAGS=-Werror" >> $GITHUB_ENV
+ if: ${{ !matrix.skip-warnings }}
+
- name: compile
run: rake compile -- --enable-debug --with-openssl-dir=$HOME/.openssl/${{ matrix.openssl }}