blob: 25318d7b3ca53808a26c7fa30812bb12e2b01345 [file] [log] [blame]
Akronb1ecf932021-03-02 17:36:49 +01001name: CI Perl Windows
2on:
3 push:
4 branches:
5 - '*'
6 tags-ignore:
7 - '*'
8 pull_request:
9jobs:
10 perl:
11 runs-on: windows-latest
12 steps:
13 - name: Set git to use LF
14 run: |
15 git config --global core.autocrlf false
16 git config --global core.eol lf
17 - uses: actions/checkout@v2
18 - name: Set up Perl
19 run: |
20 choco install strawberryperl
21 echo "C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
22 - name: perl -V
23 run: perl -V
24 - name: Install Dependencies
25 run: |
26 curl -L https://cpanmin.us > cpanm
27 perl cpanm -n -f Crypt::Random::Source
28 perl cpanm -n -f Mojolicious::Plugin::MailException
29 perl cpanm git://github.com/Akron/Mojolicious-Plugin-Localize.git
30 perl cpanm git://github.com/Akron/Mojolicious-Plugin-TagHelpers-ContentBlock.git
31 perl cpanm --installdeps .
32 - name: Run Tests
33 run: prove -lr t/