-
Notifications
You must be signed in to change notification settings - Fork 2
34 lines (29 loc) · 1023 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run Doc Tests default
run: cargo test -q --package o2o
- name: Run Doc Tests syn1
run: cargo test -q --package o2o --no-default-features --features syn1
- name: Run Doc Tests syn2
run: cargo test -q --package o2o --no-default-features --features syn2
- name: Run Integration Tests syn1
run: cargo test -q --package o2o-tests --no-default-features --features syn1
- name: Run Integration Tests syn2
run: cargo test -q --package o2o-tests --no-default-features --features syn2
- name: Run Impl Tests syn1
run: cargo test -q --package o2o-impl --no-default-features --features syn
- name: Run Impl Tests syn2
run: cargo test -q --package o2o-impl --no-default-features --features syn2