Skip to content

try this

try this #20

Workflow file for this run

name: Windows
on:
workflow_dispatch:
jobs:
build:
strategy:
matrix:
arch : [x86,x64,amd64_arm64]
include:
- arch : x86
bindings : '-DZ3_BUILD_PYTHON_BINDINGS=True'
- arch : x64
bindings: '-DZ3_BUILD_PYTHON_BINDINGS=True -DZ3_BUILD_DOTNET_BINDINGS=True -DZ3_BUILD_JAVA_BINDINGS=True'
- arch : amd64_arm64
bindings: '-DZ3_BUILD_PYTHON_BINDINGS=True'
runs-on: windows-latest
env:
BUILD_TYPE: Release
steps:
- name: Checkout code
uses: actions/checkout@v4
run: |
cmd /c "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" ${{ matrix.arch }}
cmake -B build -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} ${{ matrix.bindings }}
cmake --build build --config ${{ env.BUILD_TYPE }} --parallel