Skip to content

feat: Added a float bucket example #278

feat: Added a float bucket example

feat: Added a float bucket example #278

Workflow file for this run

name: Tests
on: [push]
jobs:
build-latest:
name: Test on Latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- name: Test
run: make test
build-stable:
name: Build on 1.85.0
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.85.0
- name: Test
run: cargo check --all-features
check-no-std:
name: Check no_std configurations
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
targets: thumbv7em-none-eabihf
- name: Check no_std (BTreeMap backend)
run: cargo check --no-default-features --target thumbv7em-none-eabihf
- name: Check no_std (hashbrown backend)
run: cargo check --no-default-features --features hashbrown --target thumbv7em-none-eabihf
- name: Check no_std text + bytes path
run: cargo check --no-default-features --features bytes --target thumbv7em-none-eabihf
test-wasi:
name: Test on WASI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
targets: wasm32-wasip1
- uses: Swatinem/rust-cache@v2
- name: Install WasmTime
run: |
curl -LO https://github.com/bytecodealliance/wasmtime/releases/download/v13.0.0/wasmtime-v13.0.0-x86_64-linux.tar.xz
tar xvf wasmtime-v13.0.0-x86_64-linux.tar.xz
echo `pwd`/wasmtime-v13.0.0-x86_64-linux >> $GITHUB_PATH
- name: Test
run: make wasi-test