Skip to content

feat: bootstrap ptracehook core with examples and CI #1

feat: bootstrap ptracehook core with examples and CI

feat: bootstrap ptracehook core with examples and CI #1

Workflow file for this run

name: CI
on:
push:
branches: ["**"]
pull_request:
jobs:
rust-checks:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Setup Rust cache
uses: Swatinem/rust-cache@v2
- name: Cargo fmt
run: cargo fmt --all -- --check
- name: Cargo check
run: cargo check --all-targets
- name: Cargo clippy
run: cargo clippy --all-targets -- -D warnings
- name: Cargo test (unit + integration)
run: cargo test --all-targets
zigbuild-linux-targets:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
- name: Setup Zig
uses: goto-bus-stop/setup-zig@v2
with:
version: 0.13.0
- name: Install cargo-zigbuild
run: cargo install cargo-zigbuild --locked
- name: Zigbuild x86_64 Linux
run: cargo zigbuild --target x86_64-unknown-linux-gnu
- name: Zigbuild aarch64 Linux
run: cargo zigbuild --target aarch64-unknown-linux-gnu