Skip to content

Commit

Permalink
add appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
peczenyj committed Dec 6, 2023
1 parent 1f91bfb commit da3d4f4
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# brian's standard Appveyor config for Perl 5 modules
# https://github.com/briandfoy/brians_perl_modules_appveyor_config
# This file is licensed under the Artistic License 2.0
# version 20230308
---
image:
- Visual Studio 2019
- Visual Studio 2022
- ubuntu2004

environment:
PERL5LIB: /home/appveyor/perl5/lib/perl5
DEBIAN_FRONTEND: noninteractive
SP: C:\strawberry

platform: x64

branches:
only:
- master
- /appveyor/

skip_tags: true

install:
- cmd: if not exist "C:\strawberry" cinst strawberryperl
- cmd: set PATH=%SP%\perl\bin;%SP%\perl\site\bin;%SP%\c\bin;%PATH%
- cmd: cd %APPVEYOR_BUILD_FOLDER%
- sh: sudo apt update --allow-releaseinfo-change
- sh: sudo env apt-get -yq install build-essential git libssl-dev
- sh: sudo apt-get install -y perl
- sh: export PATH=/home/appveyor/perl5/bin:$PATH
- perl -v
- cpan -M https://www.cpan.org -T App::cpanminus ExtUtils::MakeMaker
- cmd: cpanm --notest --installdeps .
- sh: cpanm --local-lib=/home/appveyor/perl5 --notest --installdeps .

build_script:
- perl Makefile.PL
- cmd: gmake test
- sh: make test

0 comments on commit da3d4f4

Please sign in to comment.