Skip to content

Merge pull request #69 from pesca-dev/dependabot/cargo/http-1.0.0 #184

Merge pull request #69 from pesca-dev/dependabot/cargo/http-1.0.0

Merge pull request #69 from pesca-dev/dependabot/cargo/http-1.0.0 #184

Workflow file for this run

name: Build & Test
on: [push]
jobs:
build_and_test:
name: Build & Test
strategy:
matrix:
# we only run on nightly, since leptos needs it
rust: [nightly]
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
target: wasm32-unknown-unknown
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
cache-all-crates: true
- name: Update Dependencies
run: sudo apt update && sudo apt install pkg-config libssl-dev binaryen -y
- name: Install Cargo-Leptos
run: cargo install cargo-leptos
- uses: actions-rs/cargo@v1
name: Build Library
with:
command: leptos
args: build --release
- uses: actions-rs/cargo@v1
name: Run Tests
with:
command: leptos
args: test --release