release: 1.6.8 #49
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
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@v4 | |
- 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 }} |