-
Notifications
You must be signed in to change notification settings - Fork 78
47 lines (43 loc) · 1.38 KB
/
smoke-windows-strawberryperl.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
42
43
44
45
46
47
name: smoke-windows-strawberryperl
on:
push:
branches:
- '*'
tags-ignore:
- '*'
pull_request:
jobs:
perl:
runs-on: windows-latest
steps:
- run: git config --global core.autocrlf false
- uses: actions/checkout@master
with:
fetch-depth: 10
- name: Find out environment
shell: cmd
run: |
dir c:\Strawberry
path
perl -MIPC::Cmd -E "say IPC::Cmd::can_run(qq{gcc})"
perl -MIPC::Cmd -E "say IPC::Cmd::can_run(qq{g++})"
perl -MIPC::Cmd -E "say IPC::Cmd::can_run(qq{ld})"
path C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;%PATH%
perl -MIPC::Cmd -E "say IPC::Cmd::can_run(qq{gcc})"
perl -MIPC::Cmd -E "say IPC::Cmd::can_run(qq{g++})"
perl -MIPC::Cmd -E "say IPC::Cmd::can_run(qq{ld})"
- name: Configure
shell: cmd
run: |
path C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;%PATH%
perl Makefile.PL
- name: Build
shell: cmd
run: |
path C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;%PATH%
gmake
- name: Run Tests
shell: cmd
run: |
path C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;%PATH%
gmake test