servicepoint/.github/workflows/rust.yml

33 lines
714 B
YAML
Raw Normal View History

2024-06-05 20:43:55 +02:00
name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
2024-06-23 09:56:14 +02:00
- name: build default features
2024-06-05 20:43:55 +02:00
run: cargo build --all --verbose
2024-06-23 09:56:14 +02:00
- name: build default features -- examples
2024-06-05 20:43:55 +02:00
run: cargo build --examples --verbose
2024-06-23 09:56:14 +02:00
- name: test default features
2024-06-05 20:43:55 +02:00
run: cargo test --all --verbose
2024-06-23 09:56:14 +02:00
- name: build all features
run: cargo build --all-features --verbose
- name: build all features -- examples
run: cargo build --all-features --examples --verbose
- name: test all features
run: cargo test --all --all-features --verbose