Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rust toolchain #51

Merged
merged 5 commits into from
Jun 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/publish-ci-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Publish angr ci docker image
on:
push:
branches: ["master"]
pull_request:
workflow_dispatch:

jobs:
Expand All @@ -21,3 +22,4 @@ jobs:
DOCKER_PASSWORD: ${{ secrets.DOCKER_API_KEY }}
- name: Push ci image
run: docker push angr/ci:3
if: github.event_name != 'pull_request'
4 changes: 3 additions & 1 deletion ci-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ RUN apt-get install -y strace
RUN apt-get install -y fontconfig
RUN apt-get install -y gcc-multilib g++-multilib
RUN apt-get install -y libxkbcommon-dev libegl-dev
RUN apt-get install -y zstd
RUN apt-get install -y zstd curl
RUN bash -c "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --profile minimal -y"
ENV PATH=/root/.cargo/bin:$PATH
RUN pip3 install "virtualenv<20" pygithub

# fix missing libreadline.so.7
Expand Down
2 changes: 1 addition & 1 deletion ci-image/conf/install.sh.template
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ cp $CONF/nose2.cfg .

python3 -mvirtualenv --python=`which python3` ./virtualenv
source ./virtualenv/bin/activate
pip install -U 'pip==21.3.1' 'setuptools<64'
pip install -U 'pip==21.3.1' 'setuptools<64' maturin

pip install --requirement ./requirements.txt --no-cache --src ./src --no-build-isolation
pip freeze > freeze.txt
Expand Down