Skip to content

[ci] fix ci

[ci] fix ci #70

Workflow file for this run

name: test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
am-test:
runs-on: ubuntu-latest
container:
image: ubuntu:23.04
steps:
- name: Install Git
run: |
apt-get update -qq
apt-get install -y git
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: checkout
uses: actions/checkout@v2
with:
submodules: true
- name: verilator
run: apt-get install verilator -y
- name: test
run: cargo test --test ${{ inputs.test-name }}
# riscv-test-rv64ui:
# name: riscv-test-rv64ui
# runs-on: ubuntu-latest
# steps:
# - name: checkout
# uses: actions/checkout@v2
# with:
# submodules: true
# - name: test
# run: cargo test --test riscv-tests-rv64ui
# riscv-test-rv64mi:
# name: riscv-test-rv64mi
# runs-on: ubuntu-latest
# steps:
# - name: checkout
# uses: actions/checkout@v2
# with:
# submodules: true
# - name: test
# run: cargo test --test riscv-tests-rv64mi
# riscv-test-rv64si:
# name: riscv-test-rv64si
# runs-on: ubuntu-latest
# steps:
# - name: checkout
# uses: actions/checkout@v2
# with:
# submodules: true
# - name: test
# run: cargo test --test riscv-tests-rv64si
# riscv-test-rv64um:
# name: riscv-test-rv64um
# runs-on: ubuntu-latest
# steps:
# - name: checkout
# uses: actions/checkout@v2
# with:
# submodules: true
# - name: test
# run: cargo test --test riscv-tests-rv64um
# riscv-test-rv64ua:
# name: riscv-test-rv64ua
# runs-on: ubuntu-latest
# steps:
# - name: checkout
# uses: actions/checkout@v2
# with:
# submodules: true
# - name: test
# run: cargo test --test riscv-tests-rv64ua