Skip to content

Commit

Permalink
Updated CI rules
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Nov 14, 2020
1 parent 10d67ce commit 20f0cd5
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 8 deletions.
38 changes: 31 additions & 7 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,41 @@
version: 1.0.{build}

image:
- Visual Studio 2015
- Ubuntu
- ubuntu1804

environment:
PERL5LIB: /home/appveyor/perl5/lib/perl5
AUTOMATED_TESTING: 1
DEBIAN_FRONTEND: noninteractive

platform: x64

branches:
only:
- master

skip_tags: true

install:
- cinst StrawberryPerl --allow-empty-checksums
- path C:\strawberry\perl\bin;C:\strawberry\perl\site\bin;C:\strawberry\c\bin;%PATH%
- mkdir %APPVEYOR_BUILD_FOLDER%\tmp
- set TMPDIR=%APPVEYOR_BUILD_FOLDER%\tmp
- cmd: if not exist "C:\strawberry" cinst StrawberryPerl --allow-empty-checksums
- cmd: path C:\strawberry\perl\bin;C:\strawberry\perl\site\bin;C:\strawberry\c\bin;%PATH%
# - cmd: cd C:\projects\%APPVEYOR_PROJECT_NAME%
- sh: sudo apt-get update -q -y
- sh: sudo DEBIAN_FRONTEND=noninteractive apt-get install -q -y --force-yes build-essential git libssl-dev perl
- sh: export PATH=/home/appveyor/perl5/bin:$PATH
- perl -V
- cmd: mkdir %APPVEYOR_BUILD_FOLDER%\tmp
- cmd: set TMPDIR=%APPVEYOR_BUILD_FOLDER%\tmp
- cpan App::cpanminus
- cpanm -q --showdeps --with-develop --with-suggests . | findstr /v "^perl\>" | cpanm -n
- 'echo End install at: & time /t'
- cmd: cpanm -q --showdeps --with-develop --with-suggests . | findstr /v "^perl\>" | cpanm -n
- cpanm -v --installdeps .
- cmd: 'echo End install at: & time /t'

build_script:
- perl Makefile.PL

test_script:
- gmake test
- cmd: gmake test
- sh: make test
2 changes: 1 addition & 1 deletion .github/workflows/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Install Dependencies
run: |
cpanm -iq File::Spec ExtUtils::MakeMaker
cpanm -q -n Test::Script Test::Pod::Spelling::CommonMistakes Test::Portability::Files Test::Taint Test::Carp Test::Pod::Coverage
cpanm -iqn --skip-satisfied Test::Pod::Spelling::CommonMistakes Test::Portability::Files Test::Pod::Coverage
cpanm -iq --installdeps --notest .
- name: Run Tests
run: prove -l -b t

0 comments on commit 20f0cd5

Please sign in to comment.