Skip to content

simplify

simplify #30

Workflow file for this run

name: Build Linux
on:
push:
branches:
- main
paths:
- '.github/workflows/build-linux.yml'
- 'src/**'
- 'include/**'
- 'example/**'
- 'CMakeLists.txt'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install CMake
run: sudo apt-get update && sudo apt-get install -y cmake
- name: Configure CMake
run: cmake -B build -DCMAKE_BUILD_TYPE=Release -DONNXRUNTIME_DIR=${PWD}/onnxruntime
- name: Build
run: cmake --build build --config Release
- name: Upload Build Artifacts
uses: actions/upload-artifact@v3
with:
name: linux-x86_64
path: lib/