summaryrefslogtreecommitdiff
path: root/.github/workflows/build_windows.yml
blob: 1cc197a7618ebd26b758f50dc9801eba5a962449 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: build_windows

on:
  push:
    branches:
      - '*'
    tags-ignore:
      - '*'
  pull_request:

jobs:
  perl:
    runs-on: windows-latest

    steps:
      - uses: actions/checkout@master
#      - name: Set up Perl
#        run: |
#          choco install strawberryperl
#          echo "##[add-path]C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin"
      - name: perl -V
        run: perl -V
      - name: Install dependencies with develop
        run: curl -sL https://git.io/cpm | perl - install -g --with-recommends --with-test --with-configure --with-develop --show-build-log-on-failure
      - name: Run Makefile.PL
        run: perl Makefile.PL
      - name: Run tests
        run: gmake test