update #71
This file contains hidden or 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 | |
| - 'release/**' | |
| - '**' | |
| pull_request: | |
| branches: | |
| - develop | |
| - master | |
| - 'release/**' | |
| env: | |
| TEST_WITH_NETWORK: 1 | |
| jobs: | |
| run-tests: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| perl: | |
| - '5.40' | |
| - '5.36' | |
| - '5.26' | |
| runner: | |
| - ubuntu-22.04 | |
| runs-on: ${{ matrix.runner }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: shogo82148/actions-setup-perl@v1 | |
| with: | |
| perl-version: ${{ matrix.perl }} | |
| - name: perl version | |
| run: perl -v | |
| - name: apt install | |
| run: sudo apt install -y libidn2-dev | |
| - name: cpan module | |
| run: cpanm Devel::CheckLib ExtUtils::PkgConfig Module::Install Module::Install::XSUtil Test::Exception Test::Fatal | |
| - name: installation | |
| run: cpanm --verbose --notest --configure-args="--no-ed25519" . | |
| - name: test | |
| run: prove -bl | |
| build-artifact: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: perl version | |
| run: perl -v | |
| - name: apt install | |
| run: sudo apt-get install -y git cpanminus gettext autoconf automake build-essential libdevel-checklib-perl libextutils-pkgconfig-perl libmime-base32-perl libmodule-install-xsutil-perl libssl-dev libtest-exception-perl libidn2-dev libtool libidn2-dev cpanminus | |
| - name: cpan module | |
| run: sudo cpanm Devel::CheckLib ExtUtils::PkgConfig Module::Install Module::Install::XSUtil Test::Exception Test::Fatal | |
| - name: build | |
| run: perl Makefile.PL && make all dist | |
| - name: upload artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: Zonemaster-LDNS | |
| path: Zonemaster-LDNS-5.0.0.tar.gz |