Skip to content

Commit

Permalink
mswin gh actions #30: no mingw on x64 due to strawberry
Browse files Browse the repository at this point in the history
  • Loading branch information
shlomif committed Oct 2, 2021
1 parent 6d02987 commit 19d2d6e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/windows-x64.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file is GENERATED BY
# fc-solve/CI-testing/translate-travis.yml-to-github-actions.py
jobs:
perl:
runs-on: windows-latest
Expand Down Expand Up @@ -36,10 +38,6 @@ jobs:
Task::FreecellSolver::Testing
Test::Code::TidyAll'
- name: Set up MinGW
uses: egor-tensin/setup-mingw@v2
with:
platform: x64
- name: install and test_script code
run: '@echo on
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/windows-x86.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file is GENERATED BY
# fc-solve/CI-testing/translate-travis.yml-to-github-actions.py
jobs:
perl:
runs-on: windows-latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ def _process_env(env):
"uses": "perl-actions/install-with-cpanm@v1",
}
steps.append(cpanm_step)
if True: # plat == 'x86':
# if True: # plat == 'x86':
if plat == 'x86':
mingw = {
"name": "Set up MinGW",
"uses": "egor-tensin/setup-mingw@v2",
Expand Down Expand Up @@ -231,6 +232,10 @@ def _myfilt(path):
skel['on'] = ['push']
with open(output_path, "wt") as outfh:
# yaml.safe_dump(o, outfh)
outfh.write(
"# This file is GENERATED BY\n" +
"# fc-solve/CI-testing/" +
"translate-travis.yml-to-github-actions.py\n")
yaml.safe_dump(skel, stream=outfh, canonical=False, indent=4, )


Expand Down

0 comments on commit 19d2d6e

Please sign in to comment.