Skip to content

Update rust.yml

Update rust.yml #2

Workflow file for this run

name: Rust
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- name: Build 00_data_operation
run: cd 00_data_operation && cargo build --verbose
- name: Run 00_data_operation tests
run: cd 00_data_operation && cargo test --verbose
- name: Build 01_linear_neural_network
run: cd 01_linear_neural_network && cargo build --verbose
- name: Run 01_linear_neural_network tests
run: cd 01_linear_neural_network && cargo test --verbose