From 18b447de64554b854358b427b19b29421104e884 Mon Sep 17 00:00:00 2001 From: danemadsen Date: Mon, 29 Jul 2024 15:05:54 +1000 Subject: [PATCH] simplify --- .github/workflows/build-linux.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index b944c1d..0f79145 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -22,16 +22,6 @@ jobs: - name: Install CMake run: sudo apt-get update && sudo apt-get install -y cmake - - name: Download ONNX Runtime - run: | - if [ "${{ matrix.arch }}" == "x86_64" ]; then - wget https://github.com/supertone-inc/onnxruntime-build/releases/download/v1.18.1/onnxruntime-linux-x64-static_lib-1.18.1.tgz -O onnxruntime.tgz - else - wget https://github.com/supertone-inc/onnxruntime-build/releases/download/v1.18.1/onnxruntime-linux-aarch64-static_lib-1.18.1.tgz -O onnxruntime.tgz - fi - mkdir -p onnxruntime - tar -xzf onnxruntime.tgz -C onnxruntime --strip-components 1 - - name: Configure CMake run: cmake -B build -DCMAKE_BUILD_TYPE=Release -DONNXRUNTIME_DIR=${PWD}/onnxruntime @@ -41,5 +31,5 @@ jobs: - name: Upload Build Artifacts uses: actions/upload-artifact@v3 with: - name: linux-${{ matrix.arch }} + name: linux-x86_64 path: lib/