fix: update name of whiffed doc references #64
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push, pull_request] | |
name: CI | |
jobs: | |
clippy: | |
name: Clippy | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
components: clippy | |
- name: cargo clippy | |
uses: actions-rs/clippy-check@v1.0.7 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
args: -p rlsf | |
test: | |
name: Test | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 20 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
components: clippy | |
- name: Install Dependencies | |
run: | | |
rustup target add wasm32-wasi | |
- name: Install and configure the WebAssembly runtime | |
run: | | |
curl https://wasmtime.dev/install.sh -sSf | bash | |
mkdir .cargo | |
echo "[target.wasm32-wasi]" > .cargo/config.toml | |
echo "runner = \"$HOME/.wasmtime/bin/wasmtime --\"" >> .cargo/config.toml | |
- name: cargo test | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: -p rlsf | |
- name: cargo test --features std | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: -p rlsf --features std | |
- name: cargo test --features std,unstable | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: -p rlsf --features std,unstable | |
- name: cargo test --target wasm32-wasi | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: --target wasm32-wasi -p rlsf | |
- name: cargo test --target wasm32-wasi --features std | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: --target wasm32-wasi -p rlsf --features std | |
- name: Override the test enviroment's memory allocator | |
run: | | |
cargo build -p rlsf_override --release | |
stat "`pwd`/target/release/librlsf_override.so" | |
echo "LD_PRELOAD=`pwd`/target/release/librlsf_override.so" >> $GITHUB_ENV | |
- name: cargo test --target wasm32-wasi (with rlsf_override) | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: --target wasm32-wasi -p rlsf nonexistent |