Skip to content

Commit 81bca8c

Browse files
committed
add perl latest to werror section
1 parent d3e2f0f commit 81bca8c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/linux.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
- name: Test
6060
run: make test
6161

62-
c-plus-plus:
62+
werror:
6363

6464
runs-on: ubuntu-latest
6565

@@ -68,6 +68,9 @@ jobs:
6868
perl:
6969
- latest
7070

71+
compiler:
72+
- gcc
73+
- g++
7174

7275
name: Perl ${{ matrix.perl }}
7376
steps:
@@ -90,7 +93,7 @@ jobs:
9093
- name: Build
9194
run: |
9295
flags=$( perl -MConfig -e 'print $Config::Config{ccflags}' )
93-
perl Makefile.PL CCFLAGS="$flags -Werror" CC=g++ && make
96+
perl Makefile.PL CCFLAGS="$flags -Werror" CC=${{ matrix.compiler }} && make
9497
9598
- name: Test
9699
run: make test

0 commit comments

Comments
 (0)