Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
danemadsen committed Jul 29, 2024
1 parent 8d52b25 commit 18b447d
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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/

0 comments on commit 18b447d

Please sign in to comment.