This commit is contained in:
Nicolas 2025-10-04 23:01:46 +02:00
parent 9995e4fcf6
commit 792fa67550
1 changed files with 4 additions and 5 deletions

View File

@ -64,10 +64,6 @@ jobs:
- name: Check out code - name: Check out code
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Set up MSVC environment
shell: powershell
run: dir
- uses: actions/download-artifact@v4 - uses: actions/download-artifact@v4
with: with:
name: stencil-object-files name: stencil-object-files
@ -81,11 +77,14 @@ jobs:
- name: Install Python dependencies - name: Install Python dependencies
run: python -m pip install -e .[dev] run: python -m pip install -e .[dev]
- name: Set up MSVC environment
shell: cmd
run: call "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" x64
- name: Compile coparun - name: Compile coparun
shell: cmd shell: cmd
run: | run: |
mkdir bin mkdir bin
call "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" x64
cl.exe /O2 src\coparun\runmem.c src\coparun\coparun.c src\coparun\mem_man.c /Fe:bin\coparun.exe cl.exe /O2 src\coparun\runmem.c src\coparun\coparun.c src\coparun\mem_man.c /Fe:bin\coparun.exe
- name: Run tests with pytest - name: Run tests with pytest