feat: relative style paths & component crate example

This commit is contained in:
Yiffy Dev 2024-11-16 22:32:38 +05:00 • committed by spushk
commit 336852a74d
Signed by: spushk
GPG key ID: 7797B761E105E8AA

View file

@ -1,26 +1,41 @@
name: cargo basic build-test
on:
push:
branches: ["window", "master"]
pull_request:
branches: ["window"]
push:
branches: ["window", "master"]
pull_request:
branches: ["window"]
env:
CARGO_TERM_COLOR: always
CARGO_TERM_COLOR: always
jobs:
build_and_test:
name: Sabry - latest
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- stable
- nightly
steps:
- uses: actions/checkout@v4
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo build --verbose
- run: cargo test --verbose --all
- run: cargo test --verbose --all --all-features
build_and_test:
name: Sabry - latest
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- stable
- nightly
steps:
- uses: actions/checkout@v4
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo build --verbose
- run: cargo test --verbose --all
- run: cargo test --verbose --all --all-features
build_examples:
name: Sabry - latset - examples
runs-on: ubuntu-latest
strategy:
matrix:
example:
- define-styles
- use-styles
- leptos-axum
steps:
- uses: actions/checkout@v4
- run: rustup update nightly && rustup default nightly
- run: cd examples/${{ matrix.example }}
- run: cargo build --verbose