mirror of
https://github.com/pykeio/ort
synced 2026-04-25 16:34:55 +02:00
ci: use new example run commands
This commit is contained in:
4
.github/workflows/custom-static-link.yml
vendored
4
.github/workflows/custom-static-link.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user