blob: 42a5296279fc45d7764d6ea2fb3aead9ded8d76a [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
Akron35d07a22024-01-25 12:24:02 +010017 - uses: actions/checkout@v4
Akronb1ecf932021-03-02 17:36:49 +010018 - 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
Akroncb5eb402024-01-25 12:51:25 +010029 perl cpanm -n -f Mojolicious::Plugin::CHI
Akron031211a2023-09-07 09:01:26 +020030 perl cpanm -n -f Log::Any
Marc Kupietza19734d2022-03-28 15:25:52 +020031 perl cpanm https://github.com/Akron/Mojolicious-Plugin-Localize.git
Akronb1ecf932021-03-02 17:36:49 +010032 perl cpanm --installdeps .
33 - name: Run Tests
34 run: prove -lr t/