mirror of
https://github.com/Z3Prover/z3
synced 2025-04-06 01:24:08 +00:00
* Add option 'MSVC_STATIC' * Update CMakeLists.txt * Update CMakeLists.txt * Upload msvc-static-build.yml
21 lines
436 B
YAML
21 lines
436 B
YAML
name: MSVC Static Build
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: windows-2019
|
|
env:
|
|
BUILD_TYPE: Release
|
|
steps:
|
|
- name: Checkout Repo
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Build
|
|
run: |
|
|
cmake -B build -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} -DZ3_BUILD_LIBZ3_SHARED=OFF -DZ3_BUILD_LIBZ3_MSVC_STATIC=ON
|
|
cmake --build build --config ${{ env.BUILD_TYPE }} --parallel
|
|
|