Skip to content

release: bump version to 0.1.5 — SV preprocessor recognition + save-d… #144

release: bump version to 0.1.5 — SV preprocessor recognition + save-d…

release: bump version to 0.1.5 — SV preprocessor recognition + save-d… #144

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
cpp:
name: C++ · ${{ matrix.os }} · ${{ matrix.build_type }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
build_type: [Debug, Release]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Configure
run: cmake -B build -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DRAWAST_WARNINGS_AS_ERRORS=ON
- name: Build
run: cmake --build build --config ${{ matrix.build_type }} --parallel
- name: Test
run: ctest --test-dir build --output-on-failure --build-config ${{ matrix.build_type }}
python:
name: Python · ${{ matrix.os }} · ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ["3.10", "3.12"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install (editable, with test deps)
run: |
python -m pip install --upgrade pip
pip install -e ".[test]"
- name: Test
run: pytest python/tests/ -v