28
28
perl-version : " 5.38"
29
29
distribution : strawberry
30
30
31
- # - name: Set up Perl
32
- # run: |
33
- # # choco install strawberryperl --version=5.40.0.1
34
- # choco upgrade strawberryperl --version 5.40.0.1
35
- # echo "C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
36
- # ##echo $env:PATH
37
-
38
- # - name: Check path
39
- # run: |
40
- # echo $env:PATH
41
- # echo "glargglarg"
42
- # echo $GITHUB_PATH
43
- # echo "zogzogzog"
44
- # $env:PATH = "C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;$env:PATH"
45
- # echo $env:PATH
46
- # echo "zigzig"
47
- # echo "C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;$env:PATH" > $GITHUB_PATH
48
- # echo $GITHUB_PATH
49
-
50
31
- name : perl -V
51
32
run : perl -V
52
33
@@ -64,42 +45,10 @@ jobs:
64
45
restore-keys : |
65
46
${{ runner.os }}-build-${{ hashFiles('perlversion.txt') }}
66
47
67
- # - name: Prepare for Alien cache
68
- # run: |
69
- # perl -V > aliencache.txt
70
- # echo 'aliens' >> aliencache.txt
71
- # dir aliencache.txt
72
- #
73
- # - name: Cache Alien downloads
74
- # uses: actions/cache@v4
75
- # with:
76
- # path: $HOMEPATH\.alienbuild
77
- # key: ${{ runner.os }}-build-${{ hashFiles('aliencache.txt') }}
78
- # restore-keys: |
79
- # ${{ runner.os }}-build-${{ hashFiles('aliencache.txt') }}
80
-
81
- # - name: Install Dependencies
82
- # run: curl -sL https://git.io/cpm | perl - install -g --show-build-log-on-failure
83
-
84
-
85
- # - name: Install dependencies 1
86
- # run: |
87
- # #cpanm --notest local::lib
88
- # #eval "$(perl -Mlocal::lib=${PWD}/perl_modules)"
89
- # cpanm --quiet --notest Alien::Build
90
- # cpanm --quiet --notest Alien::Build::MM
91
- # cpanm --quiet --notest Sort::Versions
92
- # cpanm --quiet --notest PkgConfig
93
- # cpanm --quiet --notest Alien::Build::Plugin::Cleanse::BuildDir
94
- # cpanm --quiet --notest File::Find::Rule
95
- # cpanm --quiet --notest Alien::Build::Plugin::Fetch::Cache
96
- # cpanm --quiet --notest Env::ShellWords
97
- # cpanm --quiet --notest Test2::Suite
98
-
99
48
# Was giving grief. Hurts not to leave here.
100
49
- name : Install dependencies Sereal
101
50
run : |
102
- echo $env:PATH
51
+ # echo $env:PATH
103
52
echo $env:PERL5LIB
104
53
cpanm --installdeps Sereal::Decoder
105
54
cpanm Sereal::Decoder
134
83
cpanm --notest --installdeps Alien::gdal
135
84
echo "ALIEN_GDAL_CONFIG_ARGS=--with-hide_internal_symbols" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
136
85
# qhull issues on gdal 3.5, maybe fixed in 3.6
137
- $env:ALIEN_GDAL_CONFIG_ARGS = "--with-hide-internal-symbols=yes --without-gnm --without-qhull"
86
+ # $env:ALIEN_GDAL_CONFIG_ARGS = "--with-hide-internal-symbols=yes --without-gnm --without-qhull"
138
87
Get-PSDrive C | Select-Object Used,Free
139
88
# clunky path override
140
89
# $env:PATH = "C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;$env:PATH"
@@ -151,5 +100,5 @@ jobs:
151
100
# Runs a set of commands using the runners shell
152
101
- name : Run tests
153
102
run : |
154
- prove
103
+ prove -l
155
104
0 commit comments