3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-10-03 22:43:56 +00:00
z3/.github/workflows/msvc-static-build-clang-cl.yml
Nikolaj Bjorner 9a91ba1955
Change MSVC Clang-CL build trigger to scheduled
Updated workflow to trigger on a schedule instead of push and pull_request events.
2025-09-15 10:36:42 -07:00

23 lines
590 B
YAML

name: MSVC Clang-CL Static Build
on:
schedule:
- cron: '0 0 */2 * *'
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
build:
runs-on: windows-latest
env:
BUILD_TYPE: Release
steps:
- name: Checkout Repo
uses: actions/checkout@v5
- name: Build
run: |
cmake -B build -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} -DZ3_BUILD_LIBZ3_SHARED=OFF -DZ3_BUILD_LIBZ3_MSVC_STATIC=ON -T ClangCL -DCMAKE_C_FLAGS="/EHsc" -DCMAKE_CXX_FLAGS="/EHsc"
cmake --build build --config ${{ env.BUILD_TYPE }} --parallel