Skip to content

Run FreeBSD tests on Ubuntu instead of Mac so it uses QEMU instead of… #80

Run FreeBSD tests on Ubuntu instead of Mac so it uses QEMU instead of…

Run FreeBSD tests on Ubuntu instead of Mac so it uses QEMU instead of… #80

Workflow file for this run

on: [push, pull_request]
name: Linux install
jobs:
build:
runs-on: 'macos-12'
steps:
- uses: actions/checkout@v4
- name: Setup Perl environment
uses: shogo82148/actions-setup-perl@v1
- name: Test and build
run: |
cpanm --installdeps .
perl Makefile.PL
make test
make dist
- uses: actions/upload-artifact@v4
with:
name: dist-for-linux-install
path: '*.tar.gz'
retention-days: 1
install-linux:
runs-on: 'ubuntu-latest'
needs: build
container:
image: perl:5.34
steps:
- uses: actions/download-artifact@v4
with:
name: dist-for-linux-install
- name: Install on Linux
run: |
cpanm *.tar.gz