Add CI
All checks were successful
continuous-integration/drone Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
Andrey Tkachenko 2022-03-09 13:43:55 +04:00
parent 197c1587af
commit 0293dbfe62
3 changed files with 18 additions and 5 deletions

13
.drone.yml Normal file
View File

@ -0,0 +1,13 @@
kind: pipeline
name: default
steps:
- name: build
image: hub.aidev.ru/rust-onnxruntime
commands:
- cargo build --verbose --all
- name: fmt-check
image: hub.aidev.ru/rust-onnxruntime
commands:
- cargo fmt --all -- --check

6
Cargo.lock generated
View File

@ -328,7 +328,7 @@ dependencies = [
[[package]]
name = "munkres"
version = "0.5.2"
source = "git+https://github.com/andreytkachenko/munkres-rs#f989a06df80f30c79d71540bec1e54cf5fcf9e69"
source = "git+https://git.aidev.ru/andrey/munkres-rs.git#a1ee35d6fed82c4b9cc8e22b5edab8bdd886ddda"
dependencies = [
"fixedbitset",
"ndarray 0.14.0",
@ -448,7 +448,7 @@ dependencies = [
[[package]]
name = "onnx-model"
version = "0.2.3"
source = "git+https://github.com/andreytkachenko/onnx-model?branch=v1.8#b1317664cdf34a4404f14283ef5beac8f03c4280"
source = "git+https://git.aidev.ru/andrey/onnx-model.git?branch=v1.10#f66912b39748542e6d2ded4a33e4c1247fe76769"
dependencies = [
"lazy_static",
"ndarray 0.15.3",
@ -461,7 +461,7 @@ dependencies = [
[[package]]
name = "onnxruntime"
version = "0.1.0"
source = "git+https://github.com/andreytkachenko/onnxruntime-rs.git?branch=v1.8#d4b8f290d51a6068edf915e357db1839a3a59d4a"
source = "git+https://github.com/andreytkachenko/onnxruntime-rs.git?branch=v1.10#860d59f37c89c33bbe1d6d9600c160d2cf1bb5b7"
dependencies = [
"bindgen",
"crossbeam",

View File

@ -10,5 +10,5 @@ num-traits = "0.2"
serde = "1.0"
serde_derive = "1.0"
thiserror = "1.0"
munkres = { version = "0.5", git = "https://github.com/andreytkachenko/munkres-rs" }
onnx-model = { git = "https://github.com/andreytkachenko/onnx-model", branch = "v1.8" }
munkres = { version = "0.5", git = "https://git.aidev.ru/andrey/munkres-rs.git" }
onnx-model = { git = "https://git.aidev.ru/andrey/onnx-model.git", branch = "v1.10" }