Skip to content

release: 1.6.5

release: 1.6.5 #42

Workflow file for this run

name: Build
on:
push:
branches: []
pull_request:
branches: []
defaults:
run:
shell: bash
env:
CARGO_TERM_COLOR: always
jobs:
all:
name: All
strategy:
matrix:
target: [ x86_64-unknown-linux-gnu ]
runs-on: ubuntu-latest
env:
RUSTFLAGS: "-D warnings"
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.target }},wasm32-unknown-unknown
components: clippy
- name: Info
run: |
rustup --version
cargo --version
cargo clippy --version
- name: Build (Debug)
run: |
cargo build --no-default-features --target wasm32-unknown-unknown
cargo build --no-default-features --features director --target wasm32-unknown-unknown
cargo build --no-default-features --features firefox --target wasm32-unknown-unknown
- name: Build (Release)
run: |
cargo build --release --no-default-features --target wasm32-unknown-unknown
cargo build --release --no-default-features --features director --target wasm32-unknown-unknown
cargo build --release --no-default-features --features firefox --target wasm32-unknown-unknown
- name: Clippy
run: |
cargo clippy --release --no-default-features --target wasm32-unknown-unknown
cargo clippy --release --no-default-features --features director --target wasm32-unknown-unknown
cargo clippy --release --no-default-features --features firefox --target wasm32-unknown-unknown
- name: Tests (Debug)
run: |
cargo test --no-default-features --target ${{ matrix.target }}
cargo test --no-default-features --features director --target ${{ matrix.target }}
cargo test --no-default-features --features firefox --target ${{ matrix.target }}
- name: Tests (Release)
run: |
cargo test --release --no-default-features --target ${{ matrix.target }}
cargo test --release --no-default-features --features director --target ${{ matrix.target }}
cargo test --release --no-default-features --features firefox --target ${{ matrix.target }}