Skip to content

Commit 7bdd2da

Browse files
author
jan.nijtmans
committed
Merge 8.7
2 parents b8734f5 + c0577a2 commit 7bdd2da

File tree

2 files changed

+18
-11
lines changed

2 files changed

+18
-11
lines changed

.github/workflows/onefiledist.yml

+10-4
Original file line numberDiff line numberDiff line change
@@ -103,20 +103,26 @@ jobs:
103103
runs-on: windows-latest
104104
defaults:
105105
run:
106-
shell: bash
106+
shell: msys2 {0}
107+
env:
108+
CC: gcc
109+
CFGOPT: --disable-symbols --disable-shared
107110
steps:
108-
- name: Checkout
109-
uses: actions/checkout@v2
110111
- name: Install MSYS2
111112
uses: msys2/setup-msys2@v2
113+
with:
114+
msystem: MINGW64
115+
install: git mingw-w64-x86_64-toolchain make zip
116+
- name: Checkout
117+
uses: actions/checkout@v2
112118
- name: Prepare
113119
run: |
114120
touch generic/tclStubInit.c generic/tclOOStubInit.c
115121
echo "VER_PATH=$(cd tools; pwd)/addVerToFile.tcl" >> $GITHUB_ENV
116122
mkdir 1dist
117123
working-directory: .
118124
- name: Configure
119-
run: ./configure --disable-symbols --disable-shared --enable-zipfs
125+
run: ./configure $CFGOPT
120126
working-directory: win
121127
- name: Build
122128
run: |

.github/workflows/win-build.yml

+8-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Windows
22
on: [push]
3+
env:
4+
ERROR_ON_FAILURES: 1
35
jobs:
46
msvc:
57
runs-on: windows-latest
@@ -39,14 +41,12 @@ jobs:
3941
if ($lastexitcode -ne 0) {
4042
throw "nmake exit code: $lastexitcode"
4143
}
42-
env:
43-
ERROR_ON_FAILURES: 1
4444
CI_BUILD_WITH_MSVC: 1
4545
gcc:
4646
runs-on: windows-latest
4747
defaults:
4848
run:
49-
shell: bash
49+
shell: msys2 {0}
5050
working-directory: win
5151
strategy:
5252
matrix:
@@ -58,10 +58,13 @@ jobs:
5858
- "--enable-symbols=mem"
5959
# Using powershell means we need to explicitly stop on failure
6060
steps:
61+
- name: Install MSYS2
62+
uses: msys2/setup-msys2@v2
63+
with:
64+
msystem: MINGW64
65+
install: git mingw-w64-x86_64-toolchain make
6166
- name: Checkout
6267
uses: actions/checkout@v2
63-
- name: Install MSYS2 and Make
64-
run: choco install msys2 make
6568
- name: Prepare
6669
run: |
6770
touch tclStubInit.c tclOOStubInit.c tclOOScript.h
@@ -78,8 +81,6 @@ jobs:
7881
run: make tcltest
7982
- name: Run Tests
8083
run: make test
81-
env:
82-
ERROR_ON_FAILURES: 1
8384

8485
# If you add builds with Wine, be sure to define the environment variable
8586
# CI_USING_WINE when running them so that broken tests know not to run.

0 commit comments

Comments
 (0)