Skip to content

example: add more examples #308

example: add more examples

example: add more examples #308

Workflow file for this run

name: Rust
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2023-05-06
override: true
components: rustfmt
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Build
run: cargo build --verbose --all-features --all-targets
- name: Test
run: cargo test --verbose --all-features
- name: Check formatting
run: cargo fmt -- --check --verbose
- name: Autobahn|Testsuite
if: matrix.os == 'ubuntu-latest'
run: |
cargo build --verbose --release --all-features --example echo_server
deno run -A --unstable autobahn/server-test.js