Skip to content

Commit

Permalink
compat w/ CentOS 7 /usr/bin/perl
Browse files Browse the repository at this point in the history
  • Loading branch information
FGasper committed Apr 22, 2022
1 parent c30a44b commit eea59dc
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
26 changes: 25 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,30 @@ jobs:
- name: Run Tests
run: prove -wlvmb t

linux-centos7:
runs-on: ubuntu-latest

container:
image: centos:centos7

steps:

# CentOS 7’s git is too old for submodules.
- run: yum -y install https://packages.endpointdev.com/rhel/7/os/x86_64/endpoint-repo.x86_64.rpm
- run: yum install -y git make gcc curl perl-ExtUtils-MakeMaker
- uses: actions/checkout@main
with:
submodules: recursive
- run: perl -V
- name: Install Dependencies
run: curl https://cpanmin.us | perl - --notest --installdeps --with-configure --with-develop .
- name: perl Makefile.PL
run: perl Makefile.PL
- name: make
run: make
- name: Run Tests
run: prove -wlvmb t

linux-specialperls:
runs-on: ubuntu-latest

Expand All @@ -62,7 +86,7 @@ jobs:
matrix:
perl-version:
- '5.020.003'
#- '5.022.004' # no quadmath
- '5.022.004' # no quadmath
- '5.024.004'
- '5.026.003'
- '5.028.003'
Expand Down
2 changes: 1 addition & 1 deletion Wasm3.xs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ typedef struct {
unsigned coderefs_count;

#ifdef MULTIPLICITY
pTHX;
tTHX aTHX;
#endif
} ww3_runtime_userdata_s;

Expand Down

0 comments on commit eea59dc

Please sign in to comment.