Skip to content

Refactor for better user-facing API (#2) #30

Refactor for better user-facing API (#2)

Refactor for better user-facing API (#2) #30

Workflow file for this run

on: [push]
name: CI
jobs:
build_and_test:
name: Tests
strategy:
matrix:
arch: [Arm64, x64, riscv64]
#runs-on: [self-hosted, linux]
runs-on: ${{ matrix.arch }}
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
# - name: Set up cargo cache
# uses: actions/cache@v3
# continue-on-error: false
# with:
# path: |
# ~/.cargo/bin/
# ~/.cargo/registry/index/
# ~/.cargo/registry/cache/
# ~/.cargo/git/db/
# target/
# key: ${{ runner.os }}-${{ matrix.arch }}-cargo-${{ hashFiles('**/Cargo.toml') }}-${{matrix.arch}}
- run: cargo test