Skip to content

Commit 0bccb99

Browse files
committed
s
1 parent 4e809a0 commit 0bccb99

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/CI-windows.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ jobs:
5959
- name: Selfcheck
6060
run: |
6161
.\${{ matrix.config }}\simplecpp.exe simplecpp.cpp -e || exit /b !errorlevel!
62+
:: TODO: also run with system includes
6263
6364
- name: integration test
6465
run: |
@@ -76,16 +77,13 @@ jobs:
7677

7778
test-core:
7879
needs: build
79-
runs-on: ubuntu-24.04
80+
runs-on: windows-2025
8081
strategy:
8182
matrix:
8283
image: [ "mcr.microsoft.com/windows/server:ltsc2025", "mcr.microsoft.com/windows/servercore:ltsc2025" ]
8384
config: [Release, Debug]
8485
fail-fast: false
8586

86-
container:
87-
image: ${{ matrix.image }}
88-
8987
steps:
9088
- uses: actions/checkout@v4
9189
with:
@@ -100,6 +98,14 @@ jobs:
10098
key: simplecpp-${{ matrix.config }}-${{ github.sha }}
10199
fail-on-cache-miss: true
102100

101+
- name: Run the build process with Docker
102+
uses: addnab/docker-run-action@v3
103+
with:
104+
image: ${{ matrix.image }}
105+
options: -v ${{ github.workspace }}:/
106+
run : |
107+
.\${{ matrix.config }}\testrunner.exe || exit /b !errorlevel!
108+
103109
# TODO: how to share the following steps
104110
- name: Test
105111
run: |
@@ -109,6 +115,7 @@ jobs:
109115
- name: Selfcheck
110116
run: |
111117
.\${{ matrix.config }}\simplecpp.exe simplecpp.cpp -e || exit /b !errorlevel!
118+
:: TODO: also run with system includes
112119
113120
- name: integration test
114121
run: |

0 commit comments

Comments
 (0)