Skip to content

Commit

Permalink
Commit the github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Maischein committed Feb 9, 2024
1 parent 6adda97 commit 7cc368e
Show file tree
Hide file tree
Showing 3 changed files with 83 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: linux

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

jobs:
perl:

runs-on: ubuntu-latest

strategy:
matrix:
perl-version:
- 'latest'

container:
image: perl:${{ matrix.perl-version }}

steps:
- uses: actions/checkout@v1
- name: perl -V
run: perl -V
- name: Install Dependencies
run: curl -L https://cpanmin.us | perl - --installdeps .
- name: Run Tests
run: prove -l t
25 changes: 25 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: macos

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

jobs:
perl:

runs-on: macOS-latest

steps:
- uses: actions/checkout@v1
- name: Set up Perl
run: brew install perl
- name: perl -V
run: perl -V
- name: Install Dependencies
run: curl -L https://cpanmin.us | perl - --installdeps .
- name: Run Tests
run: prove -l t
27 changes: 27 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: 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 "C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: perl -V
run: perl -V
- name: Install Dependencies
run: curl -L https://cpanmin.us | perl - --installdeps .
- name: Run Tests
run: prove -l t

0 comments on commit 7cc368e

Please sign in to comment.