Skip to content

Initial working version of the new 'sarif add' #19

Initial working version of the new 'sarif add'

Initial working version of the new 'sarif add' #19

Workflow file for this run

name: CI
env:
R2V: 5.9.2
on:
push:
branches:
# - master
# pull_request:
# schedule:
# - cron: '0 0 * * 1'
jobs:
linux:
name: linux
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Installing radare2
run: |
wget https://github.com/radareorg/radare2/releases/download/${{env.R2V}}/radare2_${{env.R2V}}_amd64.deb
wget https://github.com/radareorg/radare2/releases/download/${{env.R2V}}/radare2-dev_${{env.R2V}}_amd64.deb
sudo dpkg -i radare2_${{env.R2V}}_amd64.deb
sudo dpkg -i radare2-dev_${{env.R2V}}_amd64.deb
- name: Installing r2frida
run: |
wget https://github.com/nowsecure/r2frida/releases/download/${{env.R2V}}/r2frida_${{env.R2V}}_amd64.deb
sudo dpkg -i r2frida_${{env.R2V}}_amd64.deb
- name: Building
run: make
# commented because requires r2-5.9.3
# - name: Running tests
# run: r2r test/db
- uses: actions/upload-artifact@v4
with:
name: sarif.r2.js
path: sarif.r2.js
macos:
name: macos
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Installing radare2
run: |
git clone --depth=1 https://github.com/radareorg/radare2
radare2/sys/install.sh > /dev/null
- name: Installing r2frida
run: |
r2pm -ci r2frida > /dev/null
- name: Building
run: make
- name: Running tests
run: make citest
# do not upload twice
# - uses: actions/upload-artifact@v4
# with:
# name: sarif.r2.js
# path: sarif.r2.js