1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: CI
# Two CI paths:
#
# * `ci` (default-features) — uses the OxideAV org-level reusable workflow,
# which exercises the registry-integrated path (oxideav-core dep +
# Mesh3DRegistry plumbing).
# * `ci-standalone` (no-default-features) — inline job that builds and
# tests the lib with `--no-default-features`, exercising the
# `oxideav-core`-free standalone path. Catches regressions where
# parser / encoder modules accidentally regrow an oxideav-core import.
on:
push:
branches:
pull_request:
branches:
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
jobs:
ci:
uses: OxideAV/.github/.github/workflows/crate-ci.yml@master
secrets: inherit
ci-standalone:
name: Build & test (no-default-features)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Cargo cache
uses: Swatinem/rust-cache@v2
with:
key: standalone
- name: Build (no-default-features)
run: cargo build --no-default-features --lib --verbose
- name: Test (no-default-features)
run: cargo test --no-default-features --lib --verbose