Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
183 changes: 0 additions & 183 deletions .github/workflows/CI-unixish.yml

This file was deleted.

56 changes: 55 additions & 1 deletion .github/workflows/CI-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
build:
strategy:
matrix:
os: [windows-2022, windows-2025, windows-11-arm]
os: [windows-2025]
config: [Release, Debug]
fail-fast: false

Expand Down Expand Up @@ -55,6 +55,7 @@ jobs:
run: |
.\${{ matrix.config }}\testrunner.exe || exit /b !errorlevel!

# TODO: does not actually fail on errors
- name: Selfcheck
run: |
.\${{ matrix.config }}\simplecpp.exe simplecpp.cpp -e || exit /b !errorlevel!
Expand All @@ -63,4 +64,57 @@ jobs:
run: |
set SIMPLECPP_EXE_PATH=.\${{ matrix.config }}\simplecpp.exe
python -m pytest integration_test.py -vv || exit /b !errorlevel!

- name: Cache Binaries
if: matrix.os == 'windows-2025'
uses: actions/cache@v4
with:
path: |
.\${{ matrix.config }}\testrunner.exe
.\${{ matrix.config }}\simplecpp.exe
key: simplecpp-${{ matrix.config }}-${{ github.sha }}

test-core:
needs: build
runs-on: windows-2025
strategy:
matrix:
image: [ "mcr.microsoft.com/windows/server:ltsc2025", "mcr.microsoft.com/windows/servercore:ltsc2025" ]
config: [Release, Debug]
fail-fast: false

steps:
- uses: actions/checkout@v4
with:
persist-credentials: false

- name: Restore Binaries
uses: actions/cache@v4
with:
path: |
.\${{ matrix.config }}\testrunner.exe
.\${{ matrix.config }}\simplecpp.exe
key: simplecpp-${{ matrix.config }}-${{ github.sha }}
fail-on-cache-miss: true

# TODO: only do this once per image
# TODO: cache this as it takes several minutes for it to complete
- name: Pull Image
run: |
docker image pull ${{ matrix.image }} || exit /b !errorlevel!
docker image ls || exit /b !errorlevel!

# TODO: how to share the following steps
- name: Test
run: |
docker run -v %%GITHUB_WORKSPACE%%\${{ matrix.config }}:C:\${{ matrix.config }} ${{ matrix.image }} C:\${{ matrix.config }}\testrunner.exe || exit /b !errorlevel!

# TODO: does not actually fail on errors
- name: Selfcheck
run: |
docker run -v %%GITHUB_WORKSPACE%%\${{ matrix.config }}:C:\${{ matrix.config }} ${{ matrix.image }} C:\${{ matrix.config }}\simplecpp.exe simplecpp.cpp -e || exit /b !errorlevel!

- name: integration test
run: |
docker run -v %%GITHUB_WORKSPACE%%\${{ matrix.config }}:C:\${{ matrix.config }} ${{ matrix.image }} -e SIMPLECPP_EXE_PATH=C:\${{ matrix.config }}\simplecpp.exe python -m pytest integration_test.py -vv || exit /b !errorlevel!

51 changes: 0 additions & 51 deletions .github/workflows/clang-tidy.yml

This file was deleted.

62 changes: 0 additions & 62 deletions .github/workflows/format.yml

This file was deleted.

21 changes: 0 additions & 21 deletions appveyor.yml

This file was deleted.

Loading