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

Fix PR checkout #31

Merged
merged 1 commit into from
Aug 20, 2024
Merged
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
21 changes: 17 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,29 @@ 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: Installing yara and r2yara via r2pm
run: r2pm -Uci r2yara
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
path: ./r2yara
- name: Init r2pm in a local folder
run: |
export R2PM_GITDIR=`pwd`
r2pm -ci yara
r2pm -i r2yara
- name: Testing r2yara installation
run: R2_DEBUG=1 r2 -qcq -c 'yrv' --
- name: Running Testsuite
run: make -C test
run: |
cd r2yara
make -C test
build-macos:
runs-on: macos-12
steps:
Expand Down
Loading