name: Windows on: push: branches: [ master ] pull_request: branches: [ master] concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: mingw-build: runs-on: windows-latest steps: - name: Checkout code uses: actions/checkout@v7.0.1 - name: Setup MSYS2 (UCRT64 / MinGW-w64) uses: msys2/setup-msys2@v2 with: msystem: UCRT64 update: true install: >- mingw-w64-ucrt-x86_64-gcc mingw-w64-ucrt-x86_64-cmake mingw-w64-ucrt-x86_64-ninja python3 - name: Build Z3 with MinGW shell: msys2 {0} run: | mkdir build && cd build cmake -G Ninja -DCMAKE_BUILD_TYPE=Release .. ninja -j$(nproc) shell test-z3 - name: Run unit tests shell: msys2 {0} run: | cd build ./test-z3.exe /a build: strategy: matrix: arch : [x86,x64,amd64_arm64] include: - arch : x86 - arch : amd64_arm64 - arch : x64 cmd1 : 'julia -e "using Pkg; Pkg.add(PackageSpec(name=\"libcxxwrap_julia_jll\"))"' cmd2 : 'julia -e "using libcxxwrap_julia_jll; print(dirname(libcxxwrap_julia_jll.libcxxwrap_julia_path))" > tmp.env' cmd3 : 'set /P JlCxxDir=