From dd8399f29d52264d2b467cd5b6f39a0f872fe0cc Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Wed, 8 Jan 2025 23:30:14 +0100 Subject: [PATCH] Try to fix tests --- .github/workflows/tests.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7b011060..e8a0dc52 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -46,6 +46,18 @@ jobs: run: | python -m pip install -U build pip setuptools wheel + - name: Build wheel (Windows) + if: startsWith(matrix.os, 'windows') + run: | + set "PATH=C:\\Program Files\\LLVM\\bin;%PATH%" + set "AR=llvm-ar" + set "AS=llvm-as" + set "CC=clang" + set "RANLIB=echo" + call "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Enterprise\\VC\\vcvarsall.bat" amd64 + clang --version + python -m build --wheel + shell: cmd - name: Build wheel (Windows) if: startsWith(matrix.os, 'windows') run: |