diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 599ca8c..533fdbe 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -70,14 +70,17 @@ jobs: - latest compiler: - - clang - - clang++ + - name: clang + werror: -Werror + + - name: clang++ + werror: -Werror -Wno-error=deprecated build-zlib: - 0 - 1 - name: Perl ${{ matrix.perl }} BUILD_ZLIB:${{matrix.build-zlib}} ${{matrix.compiler}} + name: Perl ${{ matrix.perl }} BUILD_ZLIB:${{matrix.build-zlib}} ${{matrix.compiler.name}} steps: - uses: actions/checkout@v4 @@ -95,7 +98,7 @@ jobs: - name: Build run: | flags=$( perl -MConfig -e 'print $Config::Config{ccflags}' ) - perl Makefile.PL CCFLAGS="$flags -Werror" CC=${{matrix.compiler}} && make + perl Makefile.PL CCFLAGS="$flags ${{matrix.compiler.werror}} " CC=${{matrix.compiler.name}} && make env: BUILD_ZLIB: ${{matrix.build-zlib}}