Record and Use Engine Flags in Summarize/Effect-Size Tools #649
Workflow file for this run
This file contains hidden or 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
| name: sightglass | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| workflow_dispatch: | |
| env: | |
| CARGO_TERM_COLOR: always | |
| RUST_LOG: info | |
| REVISION: "v38.0.3" | |
| jobs: | |
| format-and-clippy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - run: rustup update | |
| - run: rustup component add rustfmt clippy | |
| - run: cargo fmt --all -- --check | |
| - run: cargo clippy --all-targets --all-features -- -D warnings | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: rustup update | |
| - name: Download Cached Wasmtime engine | |
| uses: actions/cache@v4 | |
| id: wasmtime-cache | |
| with: | |
| path: engines/wasmtime/* | |
| key: wasmtime-${{ runner.os }}-${{ env.REVISION }} | |
| - name: Build Wasmtime engine | |
| if: steps.wasmtime-cache.outputs.cache-hit != 'true' | |
| working-directory: ./engines/wasmtime | |
| env: | |
| REVISION: ${{ env.REVISION }} | |
| run: | | |
| rustc build.rs | |
| ./build | |
| - name: Build all | |
| run: cargo build --verbose --all | |
| - name: Test all | |
| run: cargo test --verbose --all | |
| env: | |
| RUST_BACKTRACE: 1 |