From b878fa737244198efe62ca56f8214a892919839a Mon Sep 17 00:00:00 2001 From: pmqs Date: Sat, 15 Jun 2024 22:42:56 +0100 Subject: [PATCH] add perl 5.40 & Werror --- .github/workflows/linux.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 5c73ebb..92ed842 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -15,6 +15,7 @@ jobs: strategy: matrix: perl: + - '5.40' - '5.38' - '5.36' - '5.34' @@ -47,6 +48,8 @@ jobs: - name: Install Perl dependencies run: cpanm --quiet --installdeps --notest . - name: Build - run: perl Makefile.PL && make + run: | + flags=$( perl -MConfig -e 'print $Config::Config{ccflags}' ) + perl Makefile.PL CCFLAGS="$flags -Werror" && make - name: Test run: make test