Akron | b1ecf93 | 2021-03-02 17:36:49 +0100 | [diff] [blame] | 1 | name: CI Perl Windows |
| 2 | on: |
| 3 | push: |
| 4 | branches: |
| 5 | - '*' |
| 6 | tags-ignore: |
| 7 | - '*' |
| 8 | pull_request: |
| 9 | jobs: |
| 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 |
Akron | 031211a | 2023-09-07 09:01:26 +0200 | [diff] [blame] | 29 | perl cpanm -n -f Log::Any |
Marc Kupietz | a19734d | 2022-03-28 15:25:52 +0200 | [diff] [blame] | 30 | perl cpanm https://github.com/Akron/Mojolicious-Plugin-Localize.git |
Akron | b1ecf93 | 2021-03-02 17:36:49 +0100 | [diff] [blame] | 31 | perl cpanm --installdeps . |
| 32 | - name: Run Tests |
| 33 | run: prove -lr t/ |