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

Refactor CI scripts into a pip-installable package #35

Open
twizmwazin opened this issue May 4, 2022 · 0 comments
Open

Refactor CI scripts into a pip-installable package #35

twizmwazin opened this issue May 4, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@twizmwazin
Copy link
Member

Currently the CI consists of a handful of scripts and configuration files that have been created over time carefully curated into a container image. This makes them difficult to use outside of the context of that docker image unless you know exactly what you are doing. It would be an improvement to refactor these scripts to provide an interface that can be used something like this:

# Install step
pip install --user angr-ci

# Build step
angr-ci build --python=`which python3.6` --repo=angr/angr --branch=master --artifact=angr-master-py36.tar.gz

# Test step
angr-ci test --artifact=angr-master-py36.tar.gz --worker=0/10 --include-slow

This would also open the door to making it easy to build and test on a matrix OS/python combinations, as well as improve long-term maintainability.

@twizmwazin twizmwazin added the enhancement New feature or request label May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant