Skip to content

Commit

Permalink
switch from Appveyor to Github Actions for Windows testing
Browse files Browse the repository at this point in the history
  • Loading branch information
DrHyde committed Feb 3, 2023
1 parent 9986fc4 commit 95f66d7
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .appveyor.yml

This file was deleted.

38 changes: 38 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# cribbed from https://stackoverflow.com/questions/72367353/testing-perl-on-windows-with-github-actions

on: [push, pull_request]
name: Windows

jobs:
build:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
perl-version:
- '5.20'
- '5.22'
- '5.24'
- '5.26'
- '5.28'
- '5.30'
- '5.32'
- '5.34'
- 'latest'
steps:
- uses: actions/checkout@v2
- name: Set up Perl
run: |
choco install strawberryperl
echo "C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin" >> $GITHUB_PATH
- name: perl -V
run: perl -V
- name: Install Dependencies
run: |
cpanm ExtUtils::MakeMaker Test::Pod Test::Pod::Coverage || cat $HOME/.cpanm/work/*/build.log
cpanm --installdeps . || cat $HOME/.cpanm/work/*/build.log
- name: Run Tests
run: |
perl Makefile.PL
make test TEST_VERBOSE=1

0 comments on commit 95f66d7

Please sign in to comment.