From a85a717b459a4a39999b2663af898ac8996e6078 Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Thu, 29 Aug 2024 10:54:43 -0700 Subject: [PATCH] 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 --- .github/workflows/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e494c98e34..5f0289f67c 100644 --- a/.github/workflows/main.yml +++ b/.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: