1
0
Fork 0
mirror of https://github.com/perlbot/perlbuut synced 2025-06-07 11:15:40 -04:00
perlbuut/.github/workflows/ci.yml
2020-10-30 01:09:51 -07:00

31 lines
880 B
YAML

name: CI
on: [push]
jobs:
perl-job:
runs-on: [self-hosted, "${{ matrix.architecture }}" ]
container:
image: perl:${{ matrix.perl-version }}
strategy:
fail-fast: false
matrix:
architecture:
- X64
- ARM
perl-version:
- '5.32'
- 'latest'
name: Perl ${{ matrix.perl-version }}:${{ matrix.architecture }}
steps:
- uses: actions/checkout@v2
- name: Install libraries and cpm
run: |
apt update && apt -y install libprotobuf-dev libprotoc-dev
cpanm install --mirror http://cpanproxy/ --mirror-only App::cpm
- name: Install depedencies
run: |
cpm install -v --resolver 02packages,http://cpanproxy/ --configure-timeout 180 --build-timeout 600 --cpanfile=./cpanfile
- name: Run tests
run: |
prove