Skip to content

Commit

Permalink
Use local folder in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvainpelissier committed Aug 20, 2024
1 parent ccfaf4e commit 6e0be22
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,20 +46,18 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
repository: radareorg/radare2
ref: master
path: ./radare2
- name: Installing radare2
run: |
git clone --depth=1 https://github.com/radareorg/radare2 && cd radare2
cd radare2
sys/install.sh
- name: Init r2pm in a local folder
run: |
export R2PM_GITDIR=`pwd`
r2pm -ci yara
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
path: .
- name: Installing yara and r2yara
run: r2pm -i r2yara
r2pm -ci r2yara
- name: Testing r2yara installation
run: R2_DEBUG=1 r2 -qcq -c 'yrv' --
- name: Running Testsuite
Expand Down

0 comments on commit 6e0be22

Please sign in to comment.