-
Notifications
You must be signed in to change notification settings - Fork 4
55 lines (45 loc) · 1.21 KB
/
linux_bin_build.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: linux_bin_build
on:
push:
branches:
- '*'
tags-ignore:
- '*'
pull_request:
env:
PERL_MOD_DIR: /home/runner/perl5/lib/perl5
jobs:
perl:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: shogo82148/actions-setup-perl@v1
with:
perl-version: '5.32'
- name: Locale check
run: |
locale -a
echo Current locale:
locale
- name: perl -V
run: perl -V
- name: Install Dependencies
run: |
sudo apt-get install -y zlib1g-dev
sudo apt-get install -y libnet-ssleay-perl
sudo apt-get install -y software-properties-common
sudo add-apt-repository ppa:ubuntugis/ppa
sudo apt-get install -y gdal-bin
cpanm --notest local::lib
cpanm --notest PkgConfig
cpanm --notest Alien::Base::Wrapper
cpanm --notest FFI::Platypus
cpanm --notest FFI::Platypus::Declare
cpanm --notest Sort::Versions
cpanm --notest Test::Exception
cpanm --notest JSON
cpanm --notest PDL
- name: Build
run: |
perl Makefile.PL
make test