mirror of
https://github.com/pykeio/ort
synced 2026-04-25 16:34:55 +02:00
ci(custom-static-link): remove minimal build test
since this functionality is now broken upstream. not sure when it will be fixed.
This commit is contained in:
38
.github/workflows/custom-static-link.yml
vendored
38
.github/workflows/custom-static-link.yml
vendored
@@ -36,22 +36,22 @@ jobs:
|
||||
- name: Run test
|
||||
run: |
|
||||
ORT_LIB_LOCATION="$(pwd)/onnxruntime/build/Linux/Release" cargo example-custom-ops
|
||||
minimal-build:
|
||||
name: Minimal build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Compile ONNX Runtime
|
||||
run: |
|
||||
git clone https://github.com/microsoft/onnxruntime --recursive --branch ${{ inputs.onnxruntime-branch || 'v1.22.1' }} --single-branch --depth 1
|
||||
cd onnxruntime
|
||||
./build.sh --update --build --config Release --parallel --compile_no_warning_as_error --skip_submodule_sync --minimal_build
|
||||
cd ..
|
||||
- name: Install stable Rust toolchain
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
toolchain: stable
|
||||
- uses: Swatinem/rust-cache@v2.7.8
|
||||
- name: Test linking
|
||||
run: |
|
||||
ORT_LIB_LOCATION="$(pwd)/onnxruntime/build/Linux/Release" cargo build --manifest-path examples/custom-ops/Cargo.toml --example custom-ops --target-dir target
|
||||
# minimal-build:
|
||||
# name: Minimal build
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# - uses: actions/checkout@v4
|
||||
# - name: Compile ONNX Runtime
|
||||
# run: |
|
||||
# git clone https://github.com/microsoft/onnxruntime --recursive --branch ${{ inputs.onnxruntime-branch || 'v1.22.1' }} --single-branch --depth 1
|
||||
# cd onnxruntime
|
||||
# ./build.sh --update --build --config Release --parallel --compile_no_warning_as_error --skip_submodule_sync --minimal_build
|
||||
# cd ..
|
||||
# - name: Install stable Rust toolchain
|
||||
# uses: dtolnay/rust-toolchain@stable
|
||||
# with:
|
||||
# toolchain: stable
|
||||
# - uses: Swatinem/rust-cache@v2.7.8
|
||||
# - name: Test linking
|
||||
# run: |
|
||||
# ORT_LIB_LOCATION="$(pwd)/onnxruntime/build/Linux/Release" cargo build --manifest-path examples/custom-ops/Cargo.toml --example custom-ops --target-dir target
|
||||
|
||||
Reference in New Issue
Block a user