Skip to content

Commit

Permalink
+ fix docker and python ci
Browse files Browse the repository at this point in the history
  • Loading branch information
psi-func committed May 29, 2024
1 parent faa006f commit eaf0401
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ jobs:
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
mkdir -p capstone-5.0.1/build && cd capstone-5.0.1/build && ../nmake.bat
mkdir -p capstone-5.0.1/build
cd capstone-5.0.1/build
../nmake.bat
shell: powershell

- name: Build Triton Python package
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ RUN apt update && apt upgrade -y && apt install -y build-essential clang curl gi

# libcapstone >= 4.0.x
RUN cd /tmp && \
curl -o cap.tgz -L https://github.com/aquynh/capstone/archive/4.0.2.tar.gz && \
tar xvf cap.tgz && cd capstone-4.0.2/ && ./make.sh && make install && rm -rf /tmp/cap* \
&& ln -s /usr/lib/libcapstone.so.4 /usr/lib/x86_64-linux-gnu/libcapstone.so
curl -o cap.tgz -L https://github.com/aquynh/capstone/archive/5.0.1.tar.gz && \
tar xvf cap.tgz && cd capstone-5.0.1/ && ./make.sh && make install && rm -rf /tmp/cap* \
&& ln -s /usr/lib/libcapstone.so.5 /usr/lib/x86_64-linux-gnu/libcapstone.so

# libbitwuzla >= 0.4.0
RUN cd /tmp && \
Expand Down

0 comments on commit eaf0401

Please sign in to comment.