Skip to content

Update run_all_scripts.pl #49

Update run_all_scripts.pl

Update run_all_scripts.pl #49

name: Linux_CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
paths:
- '**.pl'
pull_request:
branches: [ master ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
strategy:
matrix:
perl-version:
- '5.16'
- '5.24'
- 'latest'
container:
image: perl:${{ matrix.perl-version }}
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# Runs a single command using the runners shell
- name: Check perl version
run: perl -v
- name: Install Dependencies
run: |
curl -L https://cpanmin.us | perl - -M https://cpan.metacpan.org -n File::Find::Rule
curl -L https://cpanmin.us | perl - -M https://cpan.metacpan.org -n MIME::Base32
curl -L https://cpanmin.us | perl - -M https://cpan.metacpan.org -n Readonly
curl -L https://cpanmin.us | perl - -M https://cpan.metacpan.org -n Convert::Base85
curl -L https://cpanmin.us | perl - -M https://cpan.metacpan.org -n LWP::UserAgent
curl -L https://cpanmin.us | perl - -M https://cpan.metacpan.org -n LWP::Protocol::https
curl -L https://cpanmin.us | perl - -M https://cpan.metacpan.org -n WWW::Mechanize
curl -L https://cpanmin.us | perl - -M https://cpan.metacpan.org -n Mojo::UserAgent
curl -L https://cpanmin.us | perl - -M https://cpan.metacpan.org -n IO::Socket::SSL
curl -L https://cpanmin.us | perl - -M https://cpan.metacpan.org -n XML::LibXML
curl -L https://cpanmin.us | perl - -M https://cpan.metacpan.org -n Math::Prime::Util
curl -L https://cpanmin.us | perl - -M https://cpan.metacpan.org -n Firefox::Marionette
# Github action doesn't support perl shell (Duh!). Hence created a seperate script which will run all other scripts in repo.
- name: Run All the scripts
run: |
perl run_all_scripts.pl