Skip to content

Commit

Permalink
Update github actions files
Browse files Browse the repository at this point in the history
  • Loading branch information
jan.nijtmans committed Aug 21, 2024
1 parent d64e751 commit 92020b5
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/mac-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions:
contents: read
jobs:
xcode:
runs-on: macos-11
runs-on: macos-12
defaults:
run:
shell: bash
Expand All @@ -34,7 +34,7 @@ jobs:
MAC_CI: 1
timeout-minutes: 15
clang:
runs-on: macos-11
runs-on: macos-12
strategy:
matrix:
config:
Expand Down
43 changes: 43 additions & 0 deletions .github/workflows/win-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,49 @@ permissions:
env:
ERROR_ON_FAILURES: 1
jobs:
msvc:
runs-on: windows-2022
defaults:
run:
shell: powershell
working-directory: win
strategy:
matrix:
config:
- ""
- "OPTS=static,msvcrt"
- "OPTS=static,staticpkg,msvcrt"
- "OPTS=symbols"
- "OPTS=symbols STATS=compdbg,memdbg"
# Using powershell means we need to explicitly stop on failure
steps:
- name: Checkout
uses: actions/checkout@v4
timeout-minutes: 5
- name: Init MSVC
uses: ilammy/msvc-dev-cmd@v1
timeout-minutes: 5
- name: Build ${{ matrix.config }}
run: |
&nmake -f makefile.vc ${{ matrix.config }} all
if ($lastexitcode -ne 0) {
throw "nmake exit code: $lastexitcode"
}
timeout-minutes: 5
- name: Build Test Harness ${{ matrix.config }}
run: |
&nmake -f makefile.vc ${{ matrix.config }} tcltest
if ($lastexitcode -ne 0) {
throw "nmake exit code: $lastexitcode"
}
timeout-minutes: 5
- name: Run Tests ${{ matrix.config }}
run: |
&nmake -f makefile.vc ${{ matrix.config }} test
if ($lastexitcode -ne 0) {
throw "nmake exit code: $lastexitcode"
}
timeout-minutes: 30
gcc:
runs-on: windows-2022
defaults:
Expand Down

0 comments on commit 92020b5

Please sign in to comment.