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 143ad04 commit f9860a4
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,14 +109,9 @@ jobs:

- name: Download Capstone
run: |
wget -UseBasicParsing https://github.com/capstone-engine/capstone/archive/refs/tags/5.0.1.zip -O capstone-5.0.1.zip
tar -xf capstone-5.0.1.zip
cd .\capstone-5.0.1
mkdir build
cd .\build\
cmake -DCAPSTONE_INSTALL=On -DBUILD_SHARED_LIBS=On -DCMAKE_INSTALL_PREFIX=../install ..
cmake --build . --config Release --parallel 4
cmake --install . --config Release
wget -UseBasicParsing https://github.com/capstone-engine/capstone/releases/download/4.0.2/capstone-4.0.2-win64.zip -O capstone-4.0.2-win64.zip
tar -xf capstone-4.0.2-win64.zip
shell: powershell

- name: Build Triton Python package
run: python -m build --wheel
Expand All @@ -127,8 +122,8 @@ jobs:
PYTHON_LIBRARY: ${{ env.pythonLocation }}\libs\${{ matrix.pylib }}
Z3_INCLUDE_DIRS: ${{ github.workspace }}\z3-4.12.2-x64-win\include
Z3_LIBRARIES: ${{ github.workspace }}\z3-4.12.2-x64-win\bin\libz3.lib
CAPSTONE_INCLUDE_DIRS: ${{ github.workspace }}\capstone-5.0.1\install\include
CAPSTONE_LIBRARIES: ${{ github.workspace }}\capstone-5.0.1\install\lib\capstone.lib
CAPSTONE_INCLUDE_DIRS: ${{ github.workspace }}\capstone-4.0.2-win64\include
CAPSTONE_LIBRARIES: ${{ github.workspace }}\capstone-4.0.2-win64\capstone.lib

- name: Upload
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit f9860a4

Please sign in to comment.