Skip to content

Commit d088fe9

Browse files
committed
Merge branch 'master' of https://github.com/z3prover/z3
2 parents 9a18628 + 5cafda1 commit d088fe9

File tree

1 file changed

+8
-20
lines changed

1 file changed

+8
-20
lines changed

.github/workflows/Windows.yml

+8-20
Original file line numberDiff line numberDiff line change
@@ -9,36 +9,24 @@ jobs:
99
arch : [x86,x64,amd64_arm64]
1010
include:
1111
- arch : x86
12-
bindings : -DZ3_BUILD_PYTHON_BINDINGS=True
12+
bindings : '-DZ3_BUILD_PYTHON_BINDINGS=True'
1313
- arch : x64
1414
cmd1 : 'julia -e "using Pkg; Pkg.add(PackageSpec(name=\"libcxxwrap_julia_jll\", version=\"0.7.0\"))"'
1515
cmd2 : 'julia -e "using libcxxwrap_julia_jll; print(dirname(libcxxwrap_julia_jll.libcxxwrap_julia_path))" > tmp.env'
1616
cmd3 : 'set /P JlCxxDir=<tmp.env'
1717
bindings: '-DJlCxx_DIR=%JlCxxDir%\..\lib\cmake\JlCxx $(cmakeJava) $(cmakeNet) $(cmakePy) -DCMAKE_BUILD_TYPE=RelWithDebInfo'
1818
- arch : amd64_arm64
19-
bindings: -DZ3_BUILD_PYTHON_BINDINGS=True
19+
bindings: '-DZ3_BUILD_PYTHON_BINDINGS=True'
2020

2121
runs-on: windows-latest
2222
steps:
2323
- name: Checkout code
2424
uses: actions/checkout@v4
25-
- name: Create build directory
26-
run: md build
2725
- name: Build
28-
run: cd build
29-
- name: cmd1
30-
if: ${{ matrix.cmd1 }}
31-
run: ${{ matrix.cmd1 }}
32-
- name: cmd2
33-
if: ${{ matrix.cmd2 }}
34-
run: ${{ matrix.cmd2 }}
35-
- name: cmd3
36-
if: ${{ matrix.cmd3 }}
37-
run: ${{ matrix.cmd3 }}
38-
- name: Setup Visual Studio environment
39-
run: |
26+
run: |
27+
md build
28+
cd build
4029
cmd /c "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" ${{ matrix.arch }}
41-
- name: configure
42-
run: cmake .. ${{ matrix.bindings }} -G "NMake Makefiles"
43-
- name: make
44-
run: nmake
30+
cmake -G "NMake Makefiles" ../
31+
nmake
32+

0 commit comments

Comments
 (0)