Skip to content

switch more things to Text #132

switch more things to Text

switch more things to Text #132

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
doc:
name: doc
runs-on: ubuntu-latest
env:
RUSTDOCFLAGS: "-D warnings"
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: doc
args: --no-deps
test-64:
name: test-64
runs-on: ubuntu-latest
strategy:
matrix:
opt: ["", "--release"]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: test
args: --lib ${{ matrix.opt }}
test-32:
name: test-32
runs-on: ubuntu-latest
strategy:
matrix:
opt: ["", "--release"]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
use-cross: true
command: test
args: --lib ${{ matrix.opt }} --target i686-unknown-linux-gnu --features native-tls-vendored
audit:
name: audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: cargo install cargo-audit
- run: cargo generate-lockfile
- run: cargo audit --deny warnings
no-std:
name: no-std
runs-on: ubuntu-latest
strategy:
matrix:
opt: ["", "--release"]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
use-cross: true
command: build
args: --lib --no-default-features ${{ matrix.opt }} --target thumbv6m-none-eabi
min-std:
name: min-std
runs-on: ubuntu-latest
strategy:
matrix:
opt: ["", "--release"]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: build
args: --lib --no-default-features ${{ matrix.opt }} --features std