Skip to content

A lightweight WebAssembly runtime that is fast, secure, and standards-compliant

CI: remove wasi-nn tests. (#14444)

Chris Fallinf50efb614256
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index b82d932598..a834731595 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -1013,48 +1013,6 @@ jobs:
- run: python3 ./ci/run-tests.py --locked ${{ matrix.bucket }}
if: runner.os != 'Windows'
- # Test `wasmtime-wasi-nn` in its own job, as not all of its backends are
- # compatible with all targets, and each must be tested separately anyways.
- test_wasi_nn:
- strategy:
- matrix:
- feature: ["openvino", "onnx-download"]
- os: ["ubuntu-24.04", "windows-2025"]
- include:
- - os: windows-2025
- feature: winml
- name: Test wasi-nn (${{ matrix.feature }}, ${{ matrix.os }})
- runs-on: ${{ matrix.os }}
- needs: determine
- if: needs.determine.outputs.run-full
- steps:
- - uses: actions/checkout@v6
- with:
- submodules: true
- - uses: ./.github/actions/install-rust
-
- # Install OpenVINO
- - uses: abrown/install-openvino-action@v12
- if: runner.arch == 'X64'
-
- # Install WinML for testing wasi-nn WinML backend. WinML is only available
- # on Windows clients and Windows Server with desktop experience enabled.
- # GitHub Actions Window Server image doesn't have desktop experience
- # enabled, so we download the standalone library from ONNX Runtime project.
- - uses: nuget/setup-nuget@v2
- if: (runner.os == 'Windows') && (matrix.feature == 'winml')
- - run: nuget install Microsoft.AI.MachineLearning
- if: (runner.os == 'Windows') && (matrix.feature == 'winml')
-
- # Install Rust targets.
- - run: rustup target add wasm32-wasip1 wasm32-wasip2
-
- # Run the tests!
- - run: cargo test -p wasmtime-wasi-nn --features ${{ matrix.feature }}
- env:
- # Avoid AMX instructions. Details at https://github.com/uxlfoundation/oneDNN/issues/5689
- ONEDNN_MAX_CPU_ISA: AVX10_1_512
-
# Test `wasmtime-wasi-tls` in its own job, as not all of its providers are
# compatible with all targets. The primary culprit is the OpenSSL dependency,
# which is not easily available on all platforms.
@@ -1506,7 +1464,6 @@ jobs:
- test_capi
- test_debug_dwarf
- test_fuzzing
- - test_wasi_nn
- test_nightly
- build
- rustfmt