@@ -64,42 +64,42 @@ jobs:
6464 name : wheels-linux-${{ matrix.platform.target }}
6565 path : crackers_python/dist
6666
67- # windows:
68- # runs-on: ${{ matrix.platform.runner }}
69- # strategy:
70- # matrix:
71- # platform:
72- # - runner: windows-latest
73- # target: x64
74- # steps:
75- # - uses: actions/checkout@v4
76- # with:
77- # submodules: true
78- # - name: Install Z3 using Chocolatey
79- # run: |
80- # choco install z3
81- # - name: Set Z3 environment variables
82- # run: |
83- # echo ::set-env name=Z3_INCLUDE_PATH::C:\tools\z3\include
84- # echo ::set-env name=Z3_LIB_PATH::C:\tools\z3\lib
85- # - uses: actions/setup-python@v5
86- # with:
87- # python-version: 3.x
88- # architecture: ${{ matrix.platform.target }}
89- # - name: Build wheels
90- # uses: PyO3/maturin-action@v1
91- # with:
92- # target: ${{ matrix.platform.target }}
93- # args: --release --out dist --find-interpreter
94- # working-directory: crackers_python
95- # # sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
96- # env:
97- # Z3_SYS_Z3_PATH: "C:/Program Files/Z3/include"
98- # - name: Upload wheels
99- # uses: actions/upload-artifact@v4
100- # with:
101- # name: wheels-windows-${{ matrix.platform.target }}
102- # path: crackers_python/dist
67+ windows :
68+ runs-on : ${{ matrix.platform.runner }}
69+ strategy :
70+ matrix :
71+ platform :
72+ - runner : windows-latest
73+ target : x64
74+ steps :
75+ - uses : actions/checkout@v4
76+ with :
77+ submodules : true
78+ - name : Install Z3 using Chocolatey
79+ run : |
80+ choco install z3
81+ - name : Set Z3 environment variables
82+ run : |
83+ echo ::set-env name=Z3_INCLUDE_PATH::C:\tools\z3\include
84+ echo ::set-env name=Z3_LIB_PATH::C:\tools\z3\lib
85+ - uses : actions/setup-python@v5
86+ with :
87+ python-version : 3.x
88+ architecture : ${{ matrix.platform.target }}
89+ - name : Build wheels
90+ uses : PyO3/maturin-action@v1
91+ with :
92+ target : ${{ matrix.platform.target }}
93+ args : --release --out dist --find-interpreter
94+ working-directory : crackers_python
95+ # sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
96+ env :
97+ Z3_SYS_Z3_PATH : " C:/Program Files/Z3/include"
98+ - name : Upload wheels
99+ uses : actions/upload-artifact@v4
100+ with :
101+ name : wheels-windows-${{ matrix.platform.target }}
102+ path : crackers_python/dist
103103
104104 macos :
105105 runs-on : ${{ matrix.platform.runner }}
0 commit comments