diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a34b5b6..3eee363 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -64,10 +64,6 @@ jobs: - name: Check out code uses: actions/checkout@v4 - - name: Set up MSVC environment - shell: powershell - run: dir - - uses: actions/download-artifact@v4 with: name: stencil-object-files @@ -81,11 +77,14 @@ jobs: - name: Install Python dependencies 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 shell: cmd run: | 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 - name: Run tests with pytest