ci: use new example run commands

This commit is contained in:
Carson M.
2025-03-22 00:05:27 -05:00
parent dc76596976
commit 89e1ec3ba9

View File

@@ -35,7 +35,7 @@ jobs:
- uses: Swatinem/rust-cache@v1 - uses: Swatinem/rust-cache@v1
- name: Run test - name: Run test
run: | run: |
ORT_LIB_LOCATION="$(pwd)/onnxruntime/build/Linux/Release" cargo run --example custom-ops ORT_LIB_LOCATION="$(pwd)/onnxruntime/build/Linux/Release" cargo example-custom-ops
minimal-build: minimal-build:
name: Minimal build name: Minimal build
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -54,4 +54,4 @@ jobs:
- uses: Swatinem/rust-cache@v1 - uses: Swatinem/rust-cache@v1
- name: Test linking - name: Test linking
run: | run: |
ORT_LIB_LOCATION="$(pwd)/onnxruntime/build/Linux/Release" cargo build --example gpt2 ORT_LIB_LOCATION="$(pwd)/onnxruntime/build/Linux/Release" cargo example-custom-ops