-
Notifications
You must be signed in to change notification settings - Fork 31
37 lines (36 loc) · 1.07 KB
/
install-linux.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
on: [push, pull_request]
name: Linux install
jobs:
build:
runs-on: 'macos-latest'
steps:
- uses: actions/checkout@v4
- 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
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@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