Skip to content

[crypto]补充以范型方式定义模运算的相关计算的单元测试 #82

[crypto]补充以范型方式定义模运算的相关计算的单元测试

[crypto]补充以范型方式定义模运算的相关计算的单元测试 #82

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
name: Build
runs-on: macos-11 # 先与开发机器系统保持一致
steps:
# 详见 https://github.com/marketplace/actions/rust-toolchain#example-workflow
- uses: actions/checkout@v2
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt, clippy
- name: Build
uses: actions-rs/cargo@v1
with:
command: build
args: --no-default-features --workspace --exclude vsock-node --exclude study-practice
test:
name: Test
runs-on: macos-latest
steps:
# 详见 https://github.com/marketplace/actions/rust-toolchain#example-workflow
- uses: actions/checkout@v2
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt, clippy
- name: Runtests
uses: actions-rs/cargo@v1
with:
command: test
args: --no-default-features --workspace --exclude vsock-node --exclude study-practice