mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 13:29:11 +00:00 
			
		
		
		
	Merge branch 'master' of https://github.com/z3prover/z3
This commit is contained in:
		
						commit
						d088fe9c43
					
				
					 1 changed files with 8 additions and 20 deletions
				
			
		
							
								
								
									
										28
									
								
								.github/workflows/Windows.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										28
									
								
								.github/workflows/Windows.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -9,36 +9,24 @@ jobs:
 | 
				
			||||||
        arch : [x86,x64,amd64_arm64]
 | 
					        arch : [x86,x64,amd64_arm64]
 | 
				
			||||||
        include:
 | 
					        include:
 | 
				
			||||||
         - arch : x86
 | 
					         - arch : x86
 | 
				
			||||||
           bindings : -DZ3_BUILD_PYTHON_BINDINGS=True
 | 
					           bindings : '-DZ3_BUILD_PYTHON_BINDINGS=True'
 | 
				
			||||||
         - arch : x64
 | 
					         - arch : x64
 | 
				
			||||||
           cmd1 : 'julia -e "using Pkg; Pkg.add(PackageSpec(name=\"libcxxwrap_julia_jll\", version=\"0.7.0\"))"'
 | 
					           cmd1 : 'julia -e "using Pkg; Pkg.add(PackageSpec(name=\"libcxxwrap_julia_jll\", version=\"0.7.0\"))"'
 | 
				
			||||||
           cmd2 : 'julia -e "using libcxxwrap_julia_jll; print(dirname(libcxxwrap_julia_jll.libcxxwrap_julia_path))" > tmp.env'
 | 
					           cmd2 : 'julia -e "using libcxxwrap_julia_jll; print(dirname(libcxxwrap_julia_jll.libcxxwrap_julia_path))" > tmp.env'
 | 
				
			||||||
           cmd3 : 'set /P JlCxxDir=<tmp.env'
 | 
					           cmd3 : 'set /P JlCxxDir=<tmp.env'
 | 
				
			||||||
           bindings: '-DJlCxx_DIR=%JlCxxDir%\..\lib\cmake\JlCxx $(cmakeJava) $(cmakeNet) $(cmakePy) -DCMAKE_BUILD_TYPE=RelWithDebInfo'
 | 
					           bindings: '-DJlCxx_DIR=%JlCxxDir%\..\lib\cmake\JlCxx $(cmakeJava) $(cmakeNet) $(cmakePy) -DCMAKE_BUILD_TYPE=RelWithDebInfo'
 | 
				
			||||||
         - arch : amd64_arm64
 | 
					         - arch : amd64_arm64
 | 
				
			||||||
           bindings: -DZ3_BUILD_PYTHON_BINDINGS=True
 | 
					           bindings: '-DZ3_BUILD_PYTHON_BINDINGS=True'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    runs-on: windows-latest
 | 
					    runs-on: windows-latest
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - name: Checkout code
 | 
					      - name: Checkout code
 | 
				
			||||||
        uses: actions/checkout@v4
 | 
					        uses: actions/checkout@v4
 | 
				
			||||||
      - name: Create build directory
 | 
					 | 
				
			||||||
        run: md build
 | 
					 | 
				
			||||||
      - name: Build
 | 
					      - name: Build
 | 
				
			||||||
        run:  cd build
 | 
					        run: |          
 | 
				
			||||||
      - name: cmd1
 | 
					          md build
 | 
				
			||||||
        if: ${{ matrix.cmd1 }}
 | 
					          cd build
 | 
				
			||||||
        run: ${{ matrix.cmd1 }}
 | 
					 | 
				
			||||||
      - name: cmd2
 | 
					 | 
				
			||||||
        if: ${{ matrix.cmd2 }}
 | 
					 | 
				
			||||||
        run: ${{ matrix.cmd2 }}
 | 
					 | 
				
			||||||
      - name: cmd3
 | 
					 | 
				
			||||||
        if: ${{ matrix.cmd3 }}
 | 
					 | 
				
			||||||
        run: ${{ matrix.cmd3 }}  
 | 
					 | 
				
			||||||
      - name: Setup Visual Studio environment
 | 
					 | 
				
			||||||
        run: |
 | 
					 | 
				
			||||||
          cmd /c "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" ${{ matrix.arch }}            
 | 
					          cmd /c "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" ${{ matrix.arch }}            
 | 
				
			||||||
      - name: configure
 | 
					          cmake -G "NMake Makefiles" ../
 | 
				
			||||||
        run: cmake .. ${{ matrix.bindings }} -G "NMake Makefiles"
 | 
					          nmake        
 | 
				
			||||||
      - name: make
 | 
					
 | 
				
			||||||
        run: nmake
 | 
					 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue