Skip to content

Fixes and backport

Fixes and backport #35

Workflow file for this run

name: build-plugin
on:
push:
branches:
- master
- dev
pull_request:
# Automatically cancel any previous workflow on new push.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
jobs:
linux:
runs-on: ubuntu-latest
steps:
- name: Checkout commit
uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt -y install meson ninja-build
- name: Build & run the plugin
run: bash .ci-scripts/ci-build-linux.sh "${{ github.ref_name }}"
windows-64:
runs-on: windows-latest
name: ${{ matrix.release }}
strategy:
fail-fast: false
matrix:
release:
[
'rizin-windows-static-{version}.zip',
'rizin-windows-shared64-{version}.zip',
]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.9.x
- name: Preparing msvc toolchain
uses: ilammy/msvc-dev-cmd@v1
with:
arch: x64
- name: Install dependencies
shell: bash
run: |
pip install ninja meson
choco install pkgconfiglite
choco install zip
- name: Install rizin
shell: bash
run: |
WORKDIR="$PWD"
cd ..
python "$WORKDIR/.ci-scripts/ci-rizin-dl.py" '${{ matrix.release }}'
unzip rizin.zip
rm *.zip
mv rizin* rizin
cd "$WORKDIR"
- name: Build & run the plugin
shell: cmd
run: .ci-scripts/ci-build-win.bat x64