Setup onnxruntime version matrix

This commit is contained in:
Basile Henry 2020-07-05 19:40:40 +02:00
parent f47472b47c
commit 829ce1fd9e
2 changed files with 10 additions and 0 deletions

View File

@ -25,6 +25,13 @@ jobs:
test:
name: Test Suite
runs-on: ubuntu-latest
strategy:
matrix:
onnxruntime_version:
- "1.2.0"
- "1.3.0"
steps:
- name: Checkout sources
uses: actions/checkout@v2
@ -38,6 +45,8 @@ jobs:
- name: Install onnxruntime dependency
run: ./.github/scripts/setup-env.sh
env:
ONNXRUNTIME_VERSION: ${{ matrix.onnxruntime_version }}
- name: Run cargo test
uses: actions-rs/cargo@v1

View File

@ -2,6 +2,7 @@ name: "Nix CI"
on: [pull_request, push]
jobs:
tests:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2