Bump cross-platform-actions/action from 0.13.0 to 0.14.0 #28
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
on: [push, pull_request] | |
name: FreeBSD | |
jobs: | |
build: | |
runs-on: 'macos-12' | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Perl environment | |
uses: shogo82148/actions-setup-perl@v1 | |
- name: Test and build | |
run: | | |
cpanm ExtUtils::MakeMaker Probe::Perl Test::Pod Test::Pod::Coverage parent | |
cpanm --installdeps . | |
echo|perl Build.PL | |
./Build test | |
./Build dist | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: dist-for-freebsd-install | |
path: '*.tar.gz' | |
retention-days: 1 | |
install-freebsd: | |
runs-on: macos-12 | |
needs: build | |
steps: | |
- uses: actions/download-artifact@v3 | |
with: | |
name: dist-for-freebsd-install | |
- name: Install on FreeBSD | |
uses: cross-platform-actions/action@v0.14.0 | |
with: | |
operating_system: freebsd | |
version: 13.1 | |
shell: bash | |
run: | | |
mkdir dist-for-test && | |
tar -C dist-for-test -xzf *.tar.gz && | |
cd dist-for-test/* && | |
sudo pkg install -y perl5 && | |
cpan App::cpanminus && | |
/home/runner/perl5/bin/cpanm --installdeps . && | |
/home/runner/perl5/bin/cpanm -v . | |