|
|
|
@@ -14,11 +14,16 @@ jobs: |
|
|
|
fail-fast: false |
|
|
|
runs-on: ${{ matrix.platform }} |
|
|
|
timeout-minutes: 30 |
|
|
|
env: |
|
|
|
SCCACHE_GHA_ENABLED: "true" |
|
|
|
RUSTC_WRAPPER: "sccache" |
|
|
|
CARGO_INCREMENTAL: 0 |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: r7kamura/rust-problem-matchers@v1.1.0 |
|
|
|
- run: cargo --version --verbose |
|
|
|
- uses: Swatinem/rust-cache@v2 |
|
|
|
- name: Run sccache-cache |
|
|
|
uses: mozilla-actions/sccache-action@v0.0.3 |
|
|
|
|
|
|
|
- name: "Check" |
|
|
|
run: cargo check --all |
|
|
|
@@ -34,12 +39,17 @@ jobs: |
|
|
|
platform: [ubuntu-latest, macos-latest, windows-latest] |
|
|
|
fail-fast: false |
|
|
|
runs-on: ${{ matrix.platform }} |
|
|
|
env: |
|
|
|
SCCACHE_GHA_ENABLED: "true" |
|
|
|
RUSTC_WRAPPER: "sccache" |
|
|
|
CARGO_INCREMENTAL: 0 |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
|
|
|
|
- uses: r7kamura/rust-problem-matchers@v1.1.0 |
|
|
|
- run: cargo --version --verbose |
|
|
|
- uses: Swatinem/rust-cache@v2 |
|
|
|
- name: Run sccache-cache |
|
|
|
uses: mozilla-actions/sccache-action@v0.0.3 |
|
|
|
|
|
|
|
- name: "Build examples" |
|
|
|
timeout-minutes: 30 |
|
|
|
@@ -67,12 +77,17 @@ jobs: |
|
|
|
platform: [ubuntu-latest, macos-latest] |
|
|
|
fail-fast: false |
|
|
|
runs-on: ${{ matrix.platform }} |
|
|
|
env: |
|
|
|
SCCACHE_GHA_ENABLED: "true" |
|
|
|
RUSTC_WRAPPER: "sccache" |
|
|
|
CARGO_INCREMENTAL: 0 |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
|
|
|
|
- uses: r7kamura/rust-problem-matchers@v1.1.0 |
|
|
|
- run: cargo --version --verbose |
|
|
|
- uses: Swatinem/rust-cache@v2 |
|
|
|
- name: Run sccache-cache |
|
|
|
uses: mozilla-actions/sccache-action@v0.0.3 |
|
|
|
|
|
|
|
- name: "Build cli and binaries" |
|
|
|
timeout-minutes: 30 |
|
|
|
@@ -99,12 +114,17 @@ jobs: |
|
|
|
examples-remote: |
|
|
|
name: "Examples (Remote)" |
|
|
|
runs-on: ubuntu-latest |
|
|
|
env: |
|
|
|
SCCACHE_GHA_ENABLED: "true" |
|
|
|
RUSTC_WRAPPER: "sccache" |
|
|
|
CARGO_INCREMENTAL: 0 |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
|
|
|
|
- uses: r7kamura/rust-problem-matchers@v1.1.0 |
|
|
|
- run: cargo --version --verbose |
|
|
|
- uses: Swatinem/rust-cache@v2 |
|
|
|
- name: Run sccache-cache |
|
|
|
uses: mozilla-actions/sccache-action@v0.0.3 |
|
|
|
|
|
|
|
- name: "Remote Rust Dataflow example" |
|
|
|
if: false # skip this example for now until we uploaded new test nodes |
|
|
|
@@ -114,12 +134,17 @@ jobs: |
|
|
|
clippy: |
|
|
|
name: "Clippy" |
|
|
|
runs-on: ubuntu-latest |
|
|
|
env: |
|
|
|
SCCACHE_GHA_ENABLED: "true" |
|
|
|
RUSTC_WRAPPER: "sccache" |
|
|
|
CARGO_INCREMENTAL: 0 |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
|
|
|
|
- uses: r7kamura/rust-problem-matchers@v1.1.0 |
|
|
|
- run: cargo --version --verbose |
|
|
|
- uses: Swatinem/rust-cache@v2 |
|
|
|
- name: Run sccache-cache |
|
|
|
uses: mozilla-actions/sccache-action@v0.0.3 |
|
|
|
|
|
|
|
- name: "Clippy" |
|
|
|
run: cargo clippy --all |
|
|
|
@@ -142,12 +167,17 @@ jobs: |
|
|
|
check-license: |
|
|
|
name: "License Checks" |
|
|
|
runs-on: ubuntu-latest |
|
|
|
env: |
|
|
|
SCCACHE_GHA_ENABLED: "true" |
|
|
|
RUSTC_WRAPPER: "sccache" |
|
|
|
CARGO_INCREMENTAL: 0 |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
|
|
|
|
- uses: r7kamura/rust-problem-matchers@v1.1.0 |
|
|
|
- run: cargo --version --verbose |
|
|
|
- uses: Swatinem/rust-cache@v2 |
|
|
|
- name: Run sccache-cache |
|
|
|
uses: mozilla-actions/sccache-action@v0.0.3 |
|
|
|
|
|
|
|
- run: cargo install cargo-lichking |
|
|
|
- name: "Check dependency licenses" |
|
|
|
|