appveyor/CI : update python 3 to 3.13 #70
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file is GENERATED BY | |
# black-hole-solitaire/CI-testing/translate-travis.yml-to-github-actions.py | |
jobs: | |
perl: | |
runs-on: windows-latest | |
steps: | |
- name: Setup perl | |
uses: shogo82148/actions-setup-perl@v1 | |
with: | |
distribution: strawberry | |
perl-version: ${{ matrix.perl-version }} | |
- name: Set git to use LF | |
run: 'git config --global core.autocrlf false | |
git config --global core.eol lf | |
' | |
- uses: actions/checkout@v2 | |
with: | |
submodules: 'true' | |
- name: perl -V | |
run: perl -V | |
- name: install cpanm and mult modules | |
uses: perl-actions/install-with-cpanm@v1 | |
with: | |
install: 'Code::TidyAll::Plugin::ClangFormat | |
Code::TidyAll::Plugin::TestCount | |
Dir::Manifest | |
Dist::Zilla | |
Env::Path | |
Games::Solitaire::Verify::Solution | |
IO::All | |
Inline | |
Inline::C | |
Perl::Critic | |
Perl::Tidy | |
Pod::Coverage::TrustPod | |
Pod::Weaver::Section::Support | |
String::ShellQuote | |
Test::CPAN::Changes | |
Test::Code::TidyAll | |
Test::Differences | |
Test::EOL | |
Test::Kwalitee | |
Test::NoTabs | |
Test::Pod | |
Test::Pod::Coverage | |
Test::RunValgrind | |
Test::Some | |
Test::TrailingSpace | |
Test::Trap' | |
- name: install and test_script code | |
run: '@echo on | |
SET PY3MODS=cookiecutter cffi pycotap pydistman pysol_cards pytest | |
pytest-cov random2 six tox tox-appveyor wheel | |
SET TOXENV=py313 | |
SET TOX_APPVEYOR_X64=1 | |
SET PATH=C:\Python313-x64;%PATH% | |
python3 --version || ( echo Failed & exit /B 1 ) | |
python3 -mpip install %PY3MODS% || ( echo Failed & exit /B 1 ) | |
perl -v || ( echo Failed & exit /B 1 ) | |
if not exist C:\Perl5 mkdir C:\Perl5 || ( echo Failed & exit /B 1 | |
) | |
set CMAKE_MAKE_PROGRAM=C:\strawberry\c\bin\gmake.exe | |
set TOXENV=py313 | |
set bhslibdir=%HOME%\apps\fcs\lib | |
SET PATH=%PATH%;%bhslibdir% | |
set bhslibdir2=%HOME%\apps\fcs\bin | |
SET PATH=%PATH%;%bhslibdir2% | |
perl black-hole-solitaire/CI-testing/continuous-integration-testing.pl | |
--gen="MSYS Makefiles" --skip-pypi || ( echo Failed & exit /B 1 ) | |
' | |
shell: cmd | |
strategy: | |
fail-fast: true | |
matrix: | |
perl-version: | |
- '5.30' | |
name: windows-x64 | |
'on': | |
- push |