Skip to content

Commit

Permalink
Add perl5.40 & a c++ build
Browse files Browse the repository at this point in the history
  • Loading branch information
pmqs committed Jun 15, 2024
1 parent 77988eb commit 93d0936
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 4 deletions.
37 changes: 36 additions & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
strategy:
matrix:
perl:
- '5.40'
- '5.38'
- '5.36'
- '5.34'
Expand All @@ -34,7 +35,7 @@ jobs:

name: Perl ${{ matrix.perl }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup perl
uses: shogo82148/actions-setup-perl@v1
Expand All @@ -55,3 +56,37 @@ jobs:

- name: Test
run: make test

c-plus-plus:

runs-on: ubuntu-latest

strategy:
matrix:
perl:
- latest


name: Perl ${{ matrix.perl }}
steps:
- uses: actions/checkout@v4

- name: Setup perl
uses: shogo82148/actions-setup-perl@v1
with:
perl-version: ${{ matrix.perl }}

- name: Perl version
run: perl -V

- name: Install DB
run: sudo apt-get install libdb-dev

- name: Install Perl dependencies
run: cpanm --quiet --installdeps --notest .

- name: Build
run: perl Makefile.PL CC=g++ && make

- name: Test
run: make test
40 changes: 38 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
strategy:
matrix:
perl:
- '5.40'
- '5.38'
- '5.36'
- '5.34'
Expand All @@ -34,7 +35,7 @@ jobs:

name: Perl ${{ matrix.perl }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup perl
uses: shogo82148/actions-setup-perl@v1
Expand All @@ -52,6 +53,41 @@ jobs:

- name: Build
run: perl Makefile.PL && make


- name: Test
run: make test


c-plus-plus:

runs-on: ubuntu-latest

strategy:
matrix:
perl:
- latest


name: Perl ${{ matrix.perl }}
steps:
- uses: actions/checkout@v4

- name: Setup perl
uses: shogo82148/actions-setup-perl@v1
with:
perl-version: ${{ matrix.perl }}

- name: Perl version
run: perl -V

- name: Install DB
run: sudo apt-get install libdb-dev

- name: Install Perl dependencies
run: cpanm --quiet --installdeps --notest .

- name: Build
run: perl Makefile.PL CC=g++ && make

- name: Test
run: make test
2 changes: 1 addition & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:

- name: Cache Berkeley DB
id: cache-bdb
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: C:\vcpkg\installed\x64-windows
key: ${{ runner.os }}-bdb
Expand Down

0 comments on commit 93d0936

Please sign in to comment.