Skip to content

Bump actions/checkout from 6 to 7 #38

Bump actions/checkout from 6 to 7

Bump actions/checkout from 6 to 7 #38

Workflow file for this run

name: CI
on:
push:
branches:
- '**'
tags:
- '[0-9]*'
pull_request:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build (${{ matrix.os }})
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Install radare2
id: r2
uses: radareorg/github-actions@v2
- name: Build
run: make
- name: Build plugin
run: make plugin
meson:
name: Meson (${{ matrix.os }})
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Install radare2
id: r2
uses: radareorg/github-actions@v2
- name: Install deps
run: pip install meson ninja --break-system-packages
- name: Configure
run: meson setup build
- name: Build
run: meson compile -C build
- name: Test
run: meson test -C build --print-errorlogs
r2-git:
name: Build against radare2 git
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Install radare2 from git
id: r2
uses: radareorg/github-actions@v2
with:
from-git: true
- name: Build
run: make
- name: Build plugin
run: make plugin
debian:
name: Build Debian package
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Install build deps
run: sudo apt-get update -y && sudo apt-get install -y build-essential pkg-config
- name: Install radare2
id: r2
uses: radareorg/github-actions@v2
- name: Build Debian package
run: make -C dist/debian SUDO=
- name: Upload Debian package artifact
uses: actions/upload-artifact@v7
with:
path: dist/debian/*.deb
if-no-files-found: error
archive: false
release:
name: Publish release
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') }}
needs:
- build
- meson
- debian
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Download artifacts
uses: actions/download-artifact@v8
with:
pattern: '*.deb'
path: dist/artifacts
merge-multiple: true
- name: Generate release notes
run: ./release.sh notes > release-notes.md
- name: Create GitHub release
uses: softprops/action-gh-release@v3.0.0
with:
name: ${{ github.ref_name }}
tag_name: ${{ github.ref_name }}
draft: false
prerelease: false
body_path: release-notes.md
fail_on_unmatched_files: true
files: |
dist/artifacts/*.deb