Skip to content

Commit

Permalink
Fix warning croak_xs_usage redefined
Browse files Browse the repository at this point in the history
This is fixing a warning from RealPPPort.c
as described in Dual-Life#194.
  • Loading branch information
atoomic committed Aug 7, 2020
1 parent 1e2b4ea commit d79a53a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ jobs:
run: perl Makefile.PL
- name: make regen
run: make regen
- name: revert timestamp update
run: "git checkout parts/inc/version ||:"
- name: diff
run: git diff --quiet
- name: make
Expand Down
23 changes: 12 additions & 11 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,38 +3,39 @@ name: macos
on:
push:
branches:
- '*'
- "*"
tags-ignore:
- '*'
- "*"
pull_request:

jobs:
perl:

runs-on: macOS-latest

env:
PERL_USE_UNSAFE_INC: 0
AUTHOR_TESTING: 1
AUTOMATED_TESTING: 1
RELEASE_TESTING: 1
PERL_CARTON_PATH: $GITHUB_WORKSPACE/local
PERL_USE_UNSAFE_INC: 0
AUTHOR_TESTING: 1
AUTOMATED_TESTING: 1
RELEASE_TESTING: 1
PERL_CARTON_PATH: $GITHUB_WORKSPACE/local

steps:
- uses: actions/checkout@v1
- name: Set up Perl
run: brew install perl
- name: perl -V
run: perl -V
# - name: Install Dependencies
# run: curl -sL https://git.io/cpm | perl - install -g --show-build-log-on-failure
# - name: Install Dependencies
# run: curl -sL https://git.io/cpm | perl - install -g --show-build-log-on-failure
- name: perl Makefile.PL
run: perl Makefile.PL
- name: make regen
run: make regen
- name: revert timestamp update
run: "git checkout parts/inc/version ||:"
- name: diff
run: git diff --quiet
- name: make
run: make
- name: Run Tests
run: make test
run: make test
1 change: 1 addition & 0 deletions parts/inc/mess
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ croak_xs_usage(const CV *const cv, const char *const params)
croak("Usage: CODE(0x%" UVxf ")(%s)", PTR2UV(cv), params);
}
}
#undef croak_xs_usage
#endif
#endif

Expand Down

0 comments on commit d79a53a

Please sign in to comment.