Skip to content

refactor project

refactor project #64

Workflow file for this run

name: Rust Test
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
# https://github.com/huggingface/candle/issues/1516
CUDA_COMPUTE_CAP: 75
jobs:
build_and_test:
name: Test Suite - ${{ matrix.target }}
strategy:
matrix:
target:
- x86_64-unknown-linux-gnu
- aarch64-unknown-linux-gnu
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
target: ${{ matrix.target }}
override: true
- uses: actions-rs/cargo@v1
with:
command: test
args: --target ${{ matrix.target }}
use-cross: true