Skip to content

修复在AMD cpu上进行实验遇到的小问题 #40

修复在AMD cpu上进行实验遇到的小问题

修复在AMD cpu上进行实验遇到的小问题 #40

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
override: true
components: rustfmt
- name: Check code format
run: cargo fmt -- --check
clippy:
runs-on: ubuntu-latest
strategy:
matrix:
vendor: [intel, amd]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
components: rust-src, clippy
- name: Clippy
run: make clippy VENDOR=${{ matrix.vendor }}
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
vendor: [intel, amd]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
components: rust-src, llvm-tools-preview
- name: Build
run: make VENDOR=${{ matrix.vendor }}
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
vendor: [intel, amd]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
components: rust-src
- name: Unit Test
run: make test VENDOR=${{ matrix.vendor }}