forked from chorny/XML-Parser
-
Notifications
You must be signed in to change notification settings - Fork 20
41 lines (36 loc) · 1022 Bytes
/
windows.yml
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
29
30
31
32
33
34
35
36
37
38
39
40
41
name: windows
on:
push:
branches:
- '*'
tags-ignore:
- '*'
pull_request:
jobs:
perl:
env:
PERL_USE_UNSAFE_INC: 0
AUTHOR_TESTING: 0
AUTOMATED_TESTING: 1
RELEASE_TESTING: 0
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
perl-version: [latest]
steps:
- uses: actions/checkout@master
- name: Set PATH for Strawberry Perl
run: |
echo "C:\strawberry\c\bin" >> $GITHUB_PATH
echo "C:\strawberry\perl\site\bin" >> $GITHUB_PATH
echo "C:\strawberry\perl\bin" >> $GITHUB_PATH
echo "P == $env:GITHUB_PATH"
- name: perl -V
run: C:\strawberry\perl\bin\perl.exe -V
- name: Makefile.PL
run: C:\strawberry\perl\bin\perl.exe Makefile.PL EXPATLIBPATH="C:\strawberry\c\lib" EXPATINCPATH="C:\strawberry\c\include"
- name: make
run: C:\strawberry\c\bin\gmake
- name: make test
run: C:\strawberry\c\bin\gmake test