This repository has been archived by the owner on Jun 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
219 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
name: emit | ||
|
||
on: [push, pull_request] | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab | ||
|
||
- name: Install Rust toolchain | ||
run: rustup default nightly | ||
|
||
- name: Install cargo-hack | ||
run: cargo install cargo-hack | ||
|
||
- name: All | ||
run: cargo test --all-features | ||
|
||
- name: Powerset | ||
run: cargo hack test --feature-powerset --lib | ||
|
||
- name: Minimal versions | ||
run: cargo hack test --feature-powerset --lib -Z minimal-versions | ||
|
||
embedded: | ||
name: Build (embedded) | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab | ||
|
||
- name: Install Rust toolchain | ||
run: | | ||
rustup default nightly | ||
rustup target add thumbv6m-none-eabi | ||
- name: Install cargo-hack | ||
run: cargo install cargo-hack | ||
|
||
- name: Powerset | ||
run: cargo hack check --each-feature --exclude-features std,alloc,implicit_rt,implicit_internal_rt -Z avoid-dev-deps --target thumbv6m-none-eabi | ||
|
||
miri: | ||
name: Test (Miri) | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab | ||
|
||
- name: Install Miri | ||
run: | | ||
rustup toolchain install nightly --component miri | ||
cargo +nightly miri setup | ||
- name: Default features | ||
run: cargo +nightly miri test --lib | ||
|
||
- name: No features | ||
run: cargo +nightly miri test --lib --no-default-features |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: file | ||
|
||
on: [push, pull_request] | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab | ||
|
||
- name: Install Rust toolchain | ||
run: rustup default nightly | ||
|
||
- name: Install cargo-hack | ||
run: cargo install cargo-hack | ||
|
||
- name: All | ||
working-directory: ./emitter/file | ||
run: cargo test --all-features | ||
|
||
- name: Powerset | ||
working-directory: ./emitter/file | ||
run: cargo hack test --feature-powerset --lib | ||
|
||
- name: Minimal versions | ||
working-directory: ./emitter/file | ||
run: cargo hack test --feature-powerset --lib -Z minimal-versions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: macros | ||
|
||
on: [push, pull_request] | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab | ||
|
||
- name: Install Rust toolchain | ||
run: rustup default nightly | ||
|
||
- name: Install cargo-hack | ||
run: cargo install cargo-hack | ||
|
||
- name: All | ||
working-directory: ./macros | ||
run: cargo test --all-features | ||
|
||
- name: Powerset | ||
working-directory: ./macros | ||
run: cargo hack test --feature-powerset --lib | ||
|
||
- name: Minimal versions | ||
working-directory: ./macros | ||
run: cargo hack test --feature-powerset --lib -Z minimal-versions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: opentelemetry | ||
|
||
on: [push, pull_request] | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab | ||
|
||
- name: Install Rust toolchain | ||
run: rustup default nightly | ||
|
||
- name: Install cargo-hack | ||
run: cargo install cargo-hack | ||
|
||
- name: All | ||
working-directory: ./emitter/opentelemetry | ||
run: cargo test --all-features | ||
|
||
- name: Powerset | ||
working-directory: ./emitter/opentelemetry | ||
run: cargo hack test --feature-powerset --lib | ||
|
||
- name: Minimal versions | ||
working-directory: ./emitter/opentelemetry | ||
run: cargo hack test --feature-powerset --lib -Z minimal-versions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: otlp | ||
|
||
on: [push, pull_request] | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab | ||
|
||
- name: Install Rust toolchain | ||
run: rustup default nightly | ||
|
||
- name: Install cargo-hack | ||
run: cargo install cargo-hack | ||
|
||
- name: All | ||
working-directory: ./emitter/otlp | ||
run: cargo test --all-features | ||
|
||
- name: Powerset | ||
working-directory: ./emitter/otlp | ||
run: cargo hack test --feature-powerset --lib | ||
|
||
- name: Minimal versions | ||
working-directory: ./emitter/otlp | ||
run: cargo hack test --feature-powerset --lib -Z minimal-versions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: term | ||
|
||
on: [push, pull_request] | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab | ||
|
||
- name: Install Rust toolchain | ||
run: rustup default nightly | ||
|
||
- name: Install cargo-hack | ||
run: cargo install cargo-hack | ||
|
||
- name: All | ||
working-directory: ./emitter/term | ||
run: cargo test --all-features | ||
|
||
- name: Powerset | ||
working-directory: ./emitter/term | ||
run: cargo hack test --feature-powerset --lib | ||
|
||
- name: Minimal versions | ||
working-directory: ./emitter/term | ||
run: cargo hack test --feature-powerset --lib -Z minimal-versions |