Skip to content

Rebase on LLVM 16

Rebase on LLVM 16 #362

Workflow file for this run

name: Tests Windows
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install system dependencies
run: |
choco install ninja
C:\Miniconda\condabin\conda.bat activate base
C:\Miniconda\condabin\conda.bat update -c conda-forge python
C:\Miniconda\condabin\conda.bat install -c conda-forge llvmdev==16.0.0 clangdev==16.0.0
python -m pip install --upgrade pip
python -m pip install lit purectypes==0.2 six
mkdir build
- uses: ilammy/msvc-dev-cmd@v1
vsversion: "2022"

Check failure on line 33 in .github/workflows/win.yml

View workflow run for this annotation

GitHub Actions / Tests Windows

Invalid workflow file

The workflow is not valid. .github/workflows/win.yml (Line: 33, Col: 7): Unexpected value 'vsversion'
- name: CMake + build
working-directory: build
run: |
cmake -DCMAKE_C_COMPILER=cl.exe -DCMAKE_CXX_COMPILER=cl.exe -DPYTHON_BINDINGS=ON -DBUILD_TESTS=ON -DLLVM_CONFIG=C:/Miniconda/Library/bin/llvm-config.exe -DCMAKE_BUILD_TYPE=release -DCMAKE_PREFIX_PATH="C:/Miniconda/Library/lib/" -G Ninja ..
ninja
- name: Native & Python tests
working-directory: build
run: |
$env:Path = "C:/Miniconda/Library/bin/;$env:Path"
copy C:\Miniconda\Library\bin\zlib.dll bindings\python\zlib.dll
ninja check