Skip to content

Commit c4b9e09

Browse files
committed
more CI stuff
Appveyor: enable BD tests GH: cleanup commented code
1 parent c244860 commit c4b9e09

File tree

2 files changed

+5
-56
lines changed

2 files changed

+5
-56
lines changed

.github/workflows/windows.yml

Lines changed: 3 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -28,25 +28,6 @@ jobs:
2828
perl-version: "5.38"
2929
distribution: strawberry
3030

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-
5031
- name: perl -V
5132
run: perl -V
5233

@@ -64,42 +45,10 @@ jobs:
6445
restore-keys: |
6546
${{ runner.os }}-build-${{ hashFiles('perlversion.txt') }}
6647
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-
9948
# Was giving grief. Hurts not to leave here.
10049
- name: Install dependencies Sereal
10150
run: |
102-
echo $env:PATH
51+
# echo $env:PATH
10352
echo $env:PERL5LIB
10453
cpanm --installdeps Sereal::Decoder
10554
cpanm Sereal::Decoder
@@ -134,7 +83,7 @@ jobs:
13483
cpanm --notest --installdeps Alien::gdal
13584
echo "ALIEN_GDAL_CONFIG_ARGS=--with-hide_internal_symbols" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
13685
# 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"
13887
Get-PSDrive C | Select-Object Used,Free
13988
# clunky path override
14089
# $env:PATH = "C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;$env:PATH"
@@ -151,5 +100,5 @@ jobs:
151100
# Runs a set of commands using the runners shell
152101
- name: Run tests
153102
run: |
154-
prove
103+
prove -l
155104

appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ install:
4141

4242

4343
build_script:
44-
# - prove -l
45-
- perl -e "1"
44+
- prove -l
45+
# - perl -e "1"
4646

0 commit comments

Comments
 (0)