-
Notifications
You must be signed in to change notification settings - Fork 19
136 lines (117 loc) · 3.93 KB
/
linux_de_locale.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
name: linux_de_locale
on:
push:
branches:
- '*'
tags-ignore:
- '*'
pull_request:
env:
PERL_MOD_DIR: /home/runner/perl5/lib/perl5
#PERL5LIB: /home/runner/perl5/lib/perl5
#PERL_LOCAL_LIB_ROOT: /home/runner/perl5
#PERL_MB_OPT: --install_base /home/runner/perl5
#PERL_MM_OPT: INSTALL_BASE=/home/runner/perl5
#LC_NUMERIC: de_DE.iso88591
#LC_CTYPE: de_DE.iso88591
jobs:
perl:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: shogo82148/actions-setup-perl@v1
with:
perl-version: '5.36'
- name: update apt get
run: |
sudo apt-get update
- name: gdal stack
run: |
sudo apt-get --yes install libgdal-dev
- name: cmake
run: |
sudo apt-get --yes install cmake
- name: Locale check
run: |
locale -a
#sudo locale-gen de_DE.iso88591
#sudo update-locale de_DE.iso88591
sudo locale-gen de_DE
sudo update-locale de_DE
- name: Locale check 2
run: |
locale -a
echo Current locale:
locale
- name: perl -V
run: perl -V
- name: Prepare for cache
run: |
perl -V > perlversion.txt
echo '20221210' >> perlversion.txt
ls -l perlversion.txt
- name: Cache CPAN modules
uses: actions/cache@v3
with:
path: ~/perl5
key: ${{ runner.os }}-build-${{ hashFiles('perlversion.txt') }}
restore-keys: |
${{ runner.os }}-build-${{ hashFiles('perlversion.txt') }}
- name: Install Dynamic Dependencies
run: |
which -a cpanm
which -a perl
cpanm --notest local::lib
echo $(perl -Mlocal::lib=${HOME}/perl5)
eval "$(perl -Mlocal::lib=${HOME}/perl5)"
#eval $(perl -I ${PERL_MOD_DIR}/lib/perl5/ -Mlocal::lib)
cpanm --installdeps FFI::Platypus
cpanm --notest FFI::Platypus
#cpanm --notest FFI::Platypus::Declare
cpanm --notest Alien::Build
cpanm --installdeps --notest Alien::sqlite
cpanm -v Alien::sqlite
cpanm --installdeps --notest Alien::libtiff
cpanm -v Alien::libtiff
cpanm --installdeps --notest Alien::geos::af
cpanm -v Alien::geos::af
cpanm --installdeps --notest Alien::proj
cpanm -v Alien::proj
cpanm --installdeps --notest Alien::gdal
cpanm -v Alien::gdal
cpanm --notest --installdeps --no-man-pages PDL
cpanm --notest --no-man-pages PDL
#cpanm --notest Task::Biodiverse::NoGUI
#cpanm --notest Test2::Suite
#cpanm --notest Test2::Harness
cpanm --installdeps .
- name: Gtk stuff
run: |
sudo apt-get install libpango1.0-dev libgtk2.0-dev
echo $(perl -Mlocal::lib=${HOME}/perl5)
eval "$(perl -Mlocal::lib=${HOME}/perl5)"
cpanm --notest Pango
cpanm --notest Gtk2
- name: Run matrix tests
run: |
echo $(perl -Mlocal::lib=${HOME}/perl5)
eval "$(perl -Mlocal::lib=${HOME}/perl5)"
sudo update-locale de_DE
export LC_NUMERIC=de_DE.iso88591
export LC_CTYPE=de_DE.iso88591
locale
perl -MPOSIX -E'say join " ", POSIX::strtod 3.14'
export BD_TEST_GUI=1
prove -v t/25-Matrix.t
- name: Run Tests
run: |
echo $(perl -Mlocal::lib=${HOME}/perl5)
eval "$(perl -Mlocal::lib=${HOME}/perl5)"
sudo update-locale de_DE
export LC_NUMERIC=de_DE.iso88591
export LC_CTYPE=de_DE.iso88591
locale
perl -MPOSIX -E'say join " ", POSIX::strtod 3.14'
prove -l xt/02-versions-all-same.t
prove -l -j4
#yath -I t/lib -PBiodiverse::TestHelpers -PBiodiverse::BaseData -PGeo::GDAL::FFI -PPDL -D test -j 4