Skip to content

Update inner node builder to require two children #249

Update inner node builder to require two children

Update inner node builder to require two children #249

Workflow file for this run

name: Rust CI
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
CARGO_TERM_COLOR: always
jobs:
test:
strategy:
fail-fast: true
matrix:
rust: ['nightly', 'beta', 'stable', 'msrv']
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v3
- name: Resolve version
id: resolve_version
run: echo "version=$(./scripts/resolve-toolchain-version.sh ${{matrix.rust}})" >> "${GITHUB_OUTPUT}"
- name: Install ${{ steps.resolve_version.outputs.version }} toolchain
if: matrix.rust == 'nightly'
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ steps.resolve_version.outputs.version }}
components: miri rustfmt clippy
- name: Install ${{ steps.resolve_version.outputs.version }} toolchain
if: matrix.rust != 'nightly'
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ steps.resolve_version.outputs.version }}
components: rustfmt clippy
- uses: taiki-e/install-action@cargo-binstall
- name: Install iai-callgrind-runner and valgrind
run: |
version=$(cargo metadata --format-version=1 |\
jq '.packages[] | select(.name == "iai-callgrind").version' |\
tr -d '"'
)
cargo binstall --no-confirm iai-callgrind-runner --version $version
sudo apt update -y
sudo apt install -y valgrind
- name: Run full test script
run: ./scripts/full-test.sh "${{ steps.resolve_version.outputs.version }}"