Restrict builds.sr.ht to Specific Refs (#1669)

This commit is contained in:
Florian Märkl 2021-09-13 14:14:29 +02:00 committed by Anton Kochkov
parent 208fd3bfe4
commit 0c90d24899
3 changed files with 3 additions and 0 deletions

View file

@ -15,6 +15,7 @@ sources:
- https://github.com/rizinorg/rizin
- https://github.com/rizinorg/rizin-testbins
tasks:
- skip: echo "${GITHUB_REF}" | grep -E '^refs/(heads/(dev|stable|bsd-.+|dist-.+)|tags/.+)$' || complete-build
- rzpipe: |
sudo python3 -m ensurepip
sudo python3 -m pip install 'git+https://github.com/rizinorg/rz-pipe#egg=rzpipe&subdirectory=python'

View file

@ -13,6 +13,7 @@ sources:
- https://github.com/rizinorg/rizin
- https://github.com/rizinorg/rizin-testbins
tasks:
- skip: echo "${GITHUB_REF}" | grep -E '^refs/(heads/(dev|stable|bsd-.+|dist-.+)|tags/.+)$' || complete-build
- rzpipe: |
python3.8 -m ensurepip --user
python3.8 -m pip install --user 'git+https://github.com/rizinorg/rz-pipe#egg=rzpipe&subdirectory=python'

View file

@ -13,6 +13,7 @@ sources:
- https://github.com/rizinorg/rizin
- https://github.com/rizinorg/rizin-testbins
tasks:
- skip: echo "${GITHUB_REF}" | grep -E '^refs/(heads/(dev|stable|bsd-.+|dist-.+)|tags/.+)$' || complete-build
- rzpipe: |
/usr/local/bin/python3 -m ensurepip --user
/usr/local/bin/python3 -m pip install --user 'git+https://github.com/rizinorg/rz-pipe#egg=rzpipe&subdirectory=python'