Skip to content

Apply build patches 2023-07 #90

Apply build patches 2023-07

Apply build patches 2023-07 #90

Workflow file for this run

name: Strawberry Perl
on:
push:
branches:
- '*'
pull_request:
jobs:
build_test:
runs-on: ${{ matrix.os }}
env:
AUTHOR_TESTING: 1
ALIEN_ZMQ_LATEST_BUILD_CONFIG: ${{ matrix.build_config_pref }}
strategy:
fail-fast: false
matrix:
os: ['windows-latest']
build_config_pref: ['autoconf', 'cmake', '']
perl: ['5']
include:
- { os: 'windows-latest', perl: "5.32", build_config_pref: '' }
name: "Strawberry Perl ${{ matrix.perl }} on ${{ matrix.os }} (build_config_pref: ${{ matrix.build_config_pref }})"
steps:
- uses: actions/checkout@v3
- name: Set up perl
uses: shogo82148/actions-setup-perl@v1
with:
distribution: 'strawberry'
perl-version: ${{ matrix.perl }}
- run: perl -V
- name: Install author deps
run: |
cpanm -qn Dist::Zilla
dzil authordeps | cpanm -qn
dzil listdeps --author | cpanm -qn
- name: Build dist
run: |
dzil build --in build-dir
- name: Install Perl deps
run: |
cd build-dir
cpanm --verbose --notest --installdeps .
cd ..
- name: Run tests
run: |
cd build-dir
cpanm --verbose --test-only .