Skip to content

Commit

Permalink
Update workflow python
Browse files Browse the repository at this point in the history
  • Loading branch information
cnheitman committed Oct 31, 2023
1 parent 52c2fdd commit ada9244
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ jobs:
shell: powershell

- name: Build Triton Python package
run: python -m build --wheel --outdir wheelhouse/windows_x86_64_tmp
run: python -m build --wheel --outdir ${{ github.workspace }}\wheelhouse\windows_x86_64_tmp
env:
PYTHON_VERSION: ${{ matrix.python-version }}
PYTHON_INCLUDE_DIRS: ${{ env.pythonLocation }}\include
Expand All @@ -124,11 +124,16 @@ jobs:
CAPSTONE_INCLUDE_DIRS: ${{ github.workspace }}\capstone-4.0.2-win64\include
CAPSTONE_LIBRARIES: ${{ github.workspace }}\capstone-4.0.2-win64\capstone.lib

- name: Debug
run: |
ls ${{ github.workspace }}\wheelhouse
shell: powershell

- name: Repair wheel package
run: |
python -m pip install delvewheel
delvewheel repair --add-path ${{ github.workspace }}\z3-4.12.2-x64-win\bin --wheel-dir .\wheelhouse\windows_x86_64 -v .\wheelhouse\windows_x86_64_tmp\triton_library-${{ env.package-version }}-${{ matrix.pycp }}-win_amd64.whl
delvewheel repair --add-path ${{ github.workspace }}\z3-4.12.2-x64-win\bin --wheel-dir ${{ github.workspace }}\wheelhouse\windows_x86_64 -v ${{ github.workspace }}\wheelhouse\windows_x86_64_tmp\triton_library-${{ env.package-version }}-${{ matrix.pycp }}-win_amd64.whl
- name: Upload
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit ada9244

Please sign in to comment.