Skip to content

Commit

Permalink
do not use wasi-nn onnx feature if riskv or s390
Browse files Browse the repository at this point in the history
Signed-off-by: David Justice <david@devigned.com>
  • Loading branch information
devigned committed Mar 12, 2024
1 parent 9311e3a commit 2b7a104
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ jobs:
fi
# Build and test all features
- run: ./ci/run-tests.sh --locked
- run: ./ci/run-tests.sh ${{ matrix.extra_features }} --locked
env:
RUST_BACKTRACE: 1

Expand Down
15 changes: 10 additions & 5 deletions ci/build-test-matrix.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ const array = [
"os": "ubuntu-latest",
"name": "Test Linux x86_64",
"filter": "linux-x64",
"isa": "x64"
"isa": "x64",
"extra_features": "--features wasmtime-wasi-nn/onnx"
},
{
"os": "ubuntu-latest",
Expand All @@ -57,18 +58,21 @@ const array = [
{
"os": "macos-latest",
"name": "Test macOS x86_64",
"filter": "macos-x64"
"filter": "macos-x64",
"extra_features": "--features wasmtime-wasi-nn/onnx"
},
{
"os": "macos-14",
"name": "Test macOS arm64",
"filter": "macos-arm64",
"target": "aarch64-apple-darwin"
"target": "aarch64-apple-darwin",
"extra_features": "--features wasmtime-wasi-nn/onnx"
},
{
"os": "windows-latest",
"name": "Test Windows MSVC x86_64",
"filter": "windows-x64"
"filter": "windows-x64",
"extra_features": "--features wasmtime-wasi-nn/onnx"
},
{
"os": "windows-latest",
Expand All @@ -85,7 +89,8 @@ const array = [
"qemu_target": "aarch64-linux-user",
"name": "Test Linux arm64",
"filter": "linux-arm64",
"isa": "aarch64"
"isa": "aarch64",
"extra_features": "--features wasmtime-wasi-nn/onnx"
},
{
"os": "ubuntu-latest",
Expand Down
1 change: 0 additions & 1 deletion ci/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ cargo test \
--features wasi-http \
--features component-model \
--features serve \
--features wasmtime-wasi-nn/onnx \
--workspace \
--exclude test-programs \
$@

0 comments on commit 2b7a104

Please sign in to comment.