Browse Source

ci: install VTune

In order to actually run the VTune CLI test, we need `vtune` on the
system. The `install-vtune-action` I created does this ([script]).

[script]: https://github.com/abrown/install-vtune-action/blob/main/install.sh
pull/9185/head
Andrew Brown 2 months ago
parent
commit
a85a717b45
Failed to extract signature
  1. 5
      .github/workflows/main.yml

5
.github/workflows/main.yml

@ -686,6 +686,11 @@ jobs:
echo "::warning::This CI run will not test MPK; it has been detected as not available on this machine (\`cargo run --example mpk-available\`)."
fi
# Install VTune, see `cli_tests::profile_with_vtune`.
- name: Install VTune
if: matrix.os == 'ubuntu-latest' && contains(matrix.bucket, 'wasmtime-cli')
uses: abrown/install-vtune-action@v1
# Build and test all features
- run: ./ci/run-tests.sh --locked ${{ matrix.bucket }}
env:

Loading…
Cancel
Save