Skip to content

Replace VerbDef and PropDef with flatbuffers. #248

Replace VerbDef and PropDef with flatbuffers.

Replace VerbDef and PropDef with flatbuffers. #248

Workflow file for this run

name: Rust
on: [ push, pull_request ]
env:
CARGO_TERM_COLOR: always
jobs:
build_default_linux:
runs-on: ubuntu-latest
steps:
- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: cmake python3-dev swig
version: 1.0
- uses: actions/checkout@v4
with:
submodules: 'true'
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
build_all_linux:
runs-on: ubuntu-latest
steps:
- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: cmake python3-dev swig
version: 1.0
- uses: actions/checkout@v4
with:
submodules: 'true'
- name: Build
run: cargo build --verbose --all-features --all-targets
- name: Run tests
run: cargo test --verbose --all-features --all-targets
# Build "all" features not a thing on MacOS since Relbox won't compile and run on it.
build_default_macos:
runs-on: macos-latest
steps:
- name: Get CMake
uses: symbitic/install-cmake@master
- uses: actions/checkout@v4
with:
submodules: 'true'
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
clippy_check:
runs-on: ubuntu-latest
steps:
- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: cmake python3-dev swig
version: 1.0
- uses: actions/checkout@v4
with:
submodules: 'true'
- run: rustup component add clippy
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features