Skip to content

Commit

Permalink
actions
Browse files Browse the repository at this point in the history
  • Loading branch information
danemadsen committed Jul 29, 2024
1 parent a013e37 commit 0a84db4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,15 @@ jobs:
- name: Install CMake
run: sudo apt-get update && sudo apt-get install -y cmake

- name: Determine CPU Cores
id: cpu-info
run: echo "CPU_CORES=$(nproc)" >> $GITHUB_ENV

- name: Configure CMake
run: cmake -B build -DCMAKE_BUILD_TYPE=Release -DONNXRUNTIME_DIR=${PWD}/onnxruntime

- name: Build
run: cmake --build build --config Release
run: cmake --build build --config Release -- -j${{ env.CPU_CORES }}

- name: Upload Build Artifacts
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 0a84db4

Please sign in to comment.