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 |
Akron | 35d07a2 | 2024-01-25 12:24:02 +0100 | [diff] [blame] | 17 | - uses: actions/checkout@v4 |
Akron | b1ecf93 | 2021-03-02 17:36:49 +0100 | [diff] [blame] | 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 | cb5eb40 | 2024-01-25 12:51:25 +0100 | [diff] [blame^] | 29 | perl cpanm -n -f Mojolicious::Plugin::CHI |
Akron | 031211a | 2023-09-07 09:01:26 +0200 | [diff] [blame] | 30 | perl cpanm -n -f Log::Any |
Marc Kupietz | a19734d | 2022-03-28 15:25:52 +0200 | [diff] [blame] | 31 | perl cpanm https://github.com/Akron/Mojolicious-Plugin-Localize.git |
Akron | b1ecf93 | 2021-03-02 17:36:49 +0100 | [diff] [blame] | 32 | perl cpanm --installdeps . |
| 33 | - name: Run Tests |
| 34 | run: prove -lr t/ |