rolling 0.2.6 #79
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: Perl CI with Inline::C and OpenMP | |
on: [push, pull_request] | |
jobs: | |
test: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] # can be comma delimited list | |
perl: [system] # Use the Perl that comes pre-installed | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
# ---- Install Build Essentials (Ubuntu & Debian) ---- | |
- name: Install Build Essentials | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y build-essential libgomp1 cpanminus | |
sudo apt-get install -y libinline-c-perl libdist-zilla-perl # Inline::C and Dist::Zilla | |
# ---- Install Perl Modules via CPAN ---- | |
- name: Install Additional Perl Modules via CPAN | |
run: | | |
sudo cpanm --verbose Alien::OpenMP Util::H2O::More File::Temp \ | |
Test::Exception Test::Deep OpenMP::Environment File::ShareDir | |
# ---- Install Author Dependencies ---- | |
- name: Install dzil authordeps | |
run: | | |
dzil authordeps --missing | sudo cpanm --verbose # Install required author dependencies | |
sudo cpanm --verbose Dist::Zilla::Plugin::VersionFromModule # this may be redundant | |
# ---- Run `dzil test` ---- | |
- name: Run `dzil test` | |
run: | | |
dzil test |