perl module Devel::CheckLib #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- develop | |
- master | |
- 'releases/**' | |
- '**' | |
pull_request: | |
branches: | |
- develop | |
- master | |
- 'releases/**' | |
jobs: | |
manifest: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: shogo82148/actions-setup-perl@v1 | |
with: | |
perl-version: '5.38' | |
# - name: apt install | |
# run: sudo apt install -y libidn2-dev | |
# | |
- name: cpan module | |
run: cpanm Module::Install Devel::CheckLib #Module::Install::XSUtil Test::Fatal | |
# | |
# - name: installation | |
# run: cpanm --verbose --notest --configure-args="--no-ed25519" . | |
- name: make | |
run: | | |
perl Makefile.PL | |
make dist | |
- name: check manifest | |
run: | | |
output=$(make distcheck 2>&1 >/dev/null) | |
if [ -n "$output" ]; then | |
echo "some file are not in MANIFEST or MANIFEST.SKIP" | |
make distcheck | |
exit 1 | |
fi |