-
Notifications
You must be signed in to change notification settings - Fork 3
122 lines (79 loc) · 3.02 KB
/
windows-x64.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
# 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