blob: bccc1c5a59b63974a6ef90a9b66615cbf9574f7c [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
Marc Kupietza19734d2022-03-28 15:25:52 +020029 perl cpanm https://github.com/Akron/Mojolicious-Plugin-Localize.git
Akronb1ecf932021-03-02 17:36:49 +010030 perl cpanm --installdeps .
31 - name: Run Tests
32 run: prove -lr t/