Skip to content

Commit

Permalink
Add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
wargio committed Jul 29, 2023
2 parents ad8c07c + 03590e9 commit c9c4d07
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: "CI Job"

on:
push:
branches:
- master
pull_request:

# Automatically cancel any previous workflow on new push.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true

jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: recursive
persist-credentials: false
- name: Dependencies
run: sudo apt install libprotobuf-dev protobuf-compiler ninja-build meson build-essential cmake git

- name: Build Rizin
run: |
git clone --depth=1 https://github.com/rizinorg/rizin.git
cd rizin
meson build
ninja -C build
sudo ninja -C build install
cd ..
- name: Build
run: |
cd rz-tracetest
cmake -Bbuild -GNinja
ninja -C build

0 comments on commit c9c4d07

Please sign in to comment.