Skip to content

fix ELF injection: add new PT_LOAD segment instead of extending existing #11

fix ELF injection: add new PT_LOAD segment instead of extending existing

fix ELF injection: add new PT_LOAD segment instead of extending existing #11

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
jobs:
check:
name: Lint & Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@1.93.1
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- run: cargo fmt --all --check
- run: cargo clippy --all-targets -- -D warnings
unit-tests:
name: Unit Tests (${{ matrix.os }})
needs: check
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@1.93.1
- uses: Swatinem/rust-cache@v2
with:
key: ${{ matrix.os }}
- run: cargo test
integration-tests:
name: Integration (${{ matrix.os }}, Node ${{ matrix.node }})
needs: unit-tests
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest]
node: [22, 24]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@1.93.1
- uses: Swatinem/rust-cache@v2
with:
key: ${{ matrix.os }}-node${{ matrix.node }}
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: node --version
- run: cargo test -- --ignored