Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into smaller-database and de-conflictify
- Loading branch information
Showing
24 changed files
with
484 additions
and
169 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
on: [push, pull_request] | ||
name: Dist installation | ||
|
||
jobs: | ||
build: | ||
runs-on: 'macos-10.15' | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup Perl environment | ||
uses: shogo82148/actions-setup-perl@v1 | ||
- name: Test and build | ||
run: | | ||
cpanm --quiet --notest ExtUtils::MakeMaker Test::Pod Test::Pod::Coverage parent | ||
cpanm --quiet --notest File::ShareDir::Install XML::XPath DBM::Deep Digest::MD5 | ||
cpanm --quiet --notest File::Find::Rule Spreadsheet::XLSX Text::CSV_XS LWP::Protocol::https | ||
cpanm --quiet --notest --installdeps . | ||
perl Makefile.PL | ||
./build-data.sh | ||
make test | ||
make dist | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: dist-for-installation-test | ||
path: '*.tar.gz' | ||
retention-days: 1 | ||
install-linux: | ||
runs-on: 'ubuntu-latest' | ||
needs: build | ||
container: | ||
image: perl:5.34 | ||
steps: | ||
- uses: actions/download-artifact@v2 | ||
with: | ||
name: dist-for-installation-test | ||
- name: Install on Linux | ||
run: | | ||
cpanm *.tar.gz | ||
install-openbsd: | ||
runs-on: macos-10.15 | ||
needs: build | ||
steps: | ||
- uses: actions/download-artifact@v2 | ||
with: | ||
name: dist-for-installation-test | ||
- name: Install on OpenBSD | ||
uses: cross-platform-actions/action@v0.3.1 | ||
with: | ||
operating_system: openbsd | ||
version: 6.9 | ||
shell: bash | ||
run: | | ||
mkdir dist-for-test && | ||
tar -C dist-for-test -xzf *.tar.gz && | ||
cd dist-for-test/* && | ||
cpan App::cpanminus && | ||
/home/runner/perl5/bin/cpanm --quiet --notest --installdeps . && | ||
/home/runner/perl5/bin/cpanm -v . |
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
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
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
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
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
Oops, something went wrong.