Skip to content

Commit

Permalink
add no-error=deprecatedfor clang++
Browse files Browse the repository at this point in the history
  • Loading branch information
pmqs committed Jun 16, 2024
1 parent 293fc88 commit 33f6ff5
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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}}

Expand Down

0 comments on commit 33f6ff5

Please sign in to comment.