Skip to content

Commit 92020b5

Browse files
author
jan.nijtmans
committed
Update github actions files
1 parent d64e751 commit 92020b5

File tree

2 files changed

+45
-2
lines changed

2 files changed

+45
-2
lines changed

.github/workflows/mac-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions:
1111
contents: read
1212
jobs:
1313
xcode:
14-
runs-on: macos-11
14+
runs-on: macos-12
1515
defaults:
1616
run:
1717
shell: bash
@@ -34,7 +34,7 @@ jobs:
3434
MAC_CI: 1
3535
timeout-minutes: 15
3636
clang:
37-
runs-on: macos-11
37+
runs-on: macos-12
3838
strategy:
3939
matrix:
4040
config:

.github/workflows/win-build.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,49 @@ permissions:
1212
env:
1313
ERROR_ON_FAILURES: 1
1414
jobs:
15+
msvc:
16+
runs-on: windows-2022
17+
defaults:
18+
run:
19+
shell: powershell
20+
working-directory: win
21+
strategy:
22+
matrix:
23+
config:
24+
- ""
25+
- "OPTS=static,msvcrt"
26+
- "OPTS=static,staticpkg,msvcrt"
27+
- "OPTS=symbols"
28+
- "OPTS=symbols STATS=compdbg,memdbg"
29+
# Using powershell means we need to explicitly stop on failure
30+
steps:
31+
- name: Checkout
32+
uses: actions/checkout@v4
33+
timeout-minutes: 5
34+
- name: Init MSVC
35+
uses: ilammy/msvc-dev-cmd@v1
36+
timeout-minutes: 5
37+
- name: Build ${{ matrix.config }}
38+
run: |
39+
&nmake -f makefile.vc ${{ matrix.config }} all
40+
if ($lastexitcode -ne 0) {
41+
throw "nmake exit code: $lastexitcode"
42+
}
43+
timeout-minutes: 5
44+
- name: Build Test Harness ${{ matrix.config }}
45+
run: |
46+
&nmake -f makefile.vc ${{ matrix.config }} tcltest
47+
if ($lastexitcode -ne 0) {
48+
throw "nmake exit code: $lastexitcode"
49+
}
50+
timeout-minutes: 5
51+
- name: Run Tests ${{ matrix.config }}
52+
run: |
53+
&nmake -f makefile.vc ${{ matrix.config }} test
54+
if ($lastexitcode -ne 0) {
55+
throw "nmake exit code: $lastexitcode"
56+
}
57+
timeout-minutes: 30
1558
gcc:
1659
runs-on: windows-2022
1760
defaults:

0 commit comments

Comments
 (0)