Skip to content

Commit

Permalink
remove Werror from clang legacy builds
Browse files Browse the repository at this point in the history
  • Loading branch information
pmqs committed Jun 17, 2024
1 parent da8e6b7 commit d6440a3
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,11 @@ jobs:
- '5.8'
- '5.6'

ccflags:
- -Werror
- -Werror -Wc++-compat

build-zlib:
- 0
- 1

name: Perl ${{ matrix.perl }} BUILD_ZLIB:${{matrix.build-zlib}} CCFLAGS:${{matrix.ccflags}}
name: Perl ${{ matrix.perl }} BUILD_ZLIB:${{matrix.build-zlib}}
steps:
- uses: actions/checkout@v4

Expand All @@ -56,9 +52,7 @@ jobs:
run: cpanm --quiet --installdeps --notest .

- name: Build
run: |
flags=$( perl -MConfig -e 'print $Config::Config{ccflags}' )
perl Makefile.PL CCFLAGS="$flags ${{matrix.ccflags}}" && make
run: perl Makefile.PL && make
env:
BUILD_ZLIB: ${{matrix.build-zlib}}

Expand Down

0 comments on commit d6440a3

Please sign in to comment.