8000 Modified Dockerfiles for inference and training · ultravioletrs/ai@e861ffe · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

UV-10 -Update algo for cocos #57

UV-10 -Update algo for cocos

UV-10 -Update algo for cocos #57

Workflow file for this run

name: Rust CI Pipeline
on:
push:
branches:
- main
paths:
- "burn-algorithms/**"
- ".github/**"
pull_request:
branches:
- main
paths:
- "burn-algorithms/**"
- ".github/**"
env:
CARGO_TERM_COLOR: always
jobs:
rust-check:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./burn-algorithms
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Populate model files
run: |
mkdir -p artifacts/iris && touch artifacts/iris/model.bin
mkdir -p artifacts/mnist && touch artifacts/mnist/model.bin
mkdir -p artifacts/winequality && touch artifacts/winequality/model.bin
- name: Check cargo
run: cargo check --release --all-targets --all-features
- name: Check formatting
run: cargo fmt --all -- --check
- name: Run linter
run: cargo clippy -- -D warnings
- name: Run tests
run: cargo test --verbose
- name: Build for all features
run: cargo build --release --all-features
- name: Add wasm32-wasi target
run: rustup target add wasm32-wasip1
- name: Build addition-inference with wasm32-wasi target
run: cd addition-inference && cargo build --release --target wasm32-wasip1
- name: Build mnist-inference with wasm32-wasi target
run: cd mnist-inference && cargo build --release --target wasm32-wasip1
- name: Build iris-inference with wasm32-wasi target
run: cd iris-inference && cargo build --release --target wasm32-wasip1
- name: Build winequality-inference with wasm32-wasi target
run: cd winequality-inference && cargo build --release --target wasm32-wasip1
0