maybe_command(): Ensure that command is defined and non-empty #252
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |