jkeenan1 has asked for the wisdom of the Perl Monks concerning the following question:
$ cat .appveyor.yml version: 1.0.{build} branches: except: - /travis/ skip_tags: true cache: - C:\strawberry -> .appveyor.yml install: - if not exist "C:\strawberry" cinst strawberryperl - set PATH=C:\strawberry\perl\bin;C:\strawberry\perl\site\bin;C:\str +awberry\c\bin;%PATH% - cd C:\projects\%APPVEYOR_PROJECT_NAME% - cpanm --installdeps . build_script: - perl Makefile.PL - gmake test_script: - gmake test TEST_VERBOSE=1 notifications: - provider: Email to: - jkeenan@cpan.org on_build_status_changed: true
However, the AppVeyor process repeatedly fails. Here's the relevant part of the output:
StrawberryPerl v5.40.0.1 [Approved] strawberryperl package files install completed. Performing other insta +llation steps. Downloading strawberryperl 64 bit from 'https://github.com/StrawberryPerl/Perl-Dist-Strawberry/release +s/download/SP_54001_64bit_UCRT/strawberry-perl-5.40.0.1-64bit.msi' Progress: 100% - Completed download of C:\Users\appveyor\AppData\Local +\Temp\1\chocolatey\StrawberryPerl\5.40.0.1\strawberry-perl-5.40.0.1-6 +4bit.msi (196.43 MB). Download of strawberry-perl-5.40.0.1-64bit.msi (196.43 MB) completed. Hashes match. Installing strawberryperl... strawberryperl has been installed. strawberryperl may be able to be automatically uninstalled. Environment Vars (like PATH) have changed. Close/reopen your shell to see the changes (or in powershell/cmd.exe just type `refreshenv`). The install of strawberryperl was successful. Software installed to 'C:\Strawberry\' Chocolatey installed 1/1 packages. See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.lo +g). set PATH=C:\strawberry\perl\bin;C:\strawberry\perl\site\bin;C:\strawbe +rry\c\bin;%PATH% cd C:\projects\%APPVEYOR_PROJECT_NAME% The system cannot find the path specified. Command exited with code 1
If I download the log.txt file from this run, the last 10 to 12 lines match the tail of the output above.
My other distros using .appveyor.yml configuration files build and test as expected, so I am at a lost as to explain why this one does not. Any suggestions?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: AppVeyor failing to build/test CPAN distro
by swl (Prior) on Feb 21, 2025 at 03:54 UTC | |
by jkeenan1 (Deacon) on Feb 21, 2025 at 11:44 UTC | |
by pryrt (Abbot) on Feb 21, 2025 at 15:33 UTC | |
by syphilis (Archbishop) on Feb 21, 2025 at 13:37 UTC |