Skip to content

Add filelist test #2442

Add filelist test

Add filelist test #2442

Workflow file for this run

name: Regression
on:
push:
branches:
- master
pull_request:
jobs:
build:
strategy:
matrix:
include:
- os: ubuntu-latest
rust: stable
target: x86_64-unknown-linux-gnu
- os: macOS-latest
rust: stable
target: x86_64-apple-darwin
- os: windows-latest
rust: stable
target: x86_64-pc-windows-msvc
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ matrix.rust }}
targets: ${{ matrix.target }}
- uses: Swatinem/rust-cache@v2
- name: Run tests
run: cargo test --locked --target ${{ matrix.target }}
rustfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- uses: Swatinem/rust-cache@v2
- name: Run rustfmt
run: cargo fmt -- --check
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- uses: Swatinem/rust-cache@v2
- name: Run clippy
run: cargo clippy -- -D warnings
std:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Setup veryl
run: cargo install --path crates/veryl
- name: Setup verilator
uses: veryl-lang/setup-verilator@v1
- name: Format check
run: veryl fmt --check
working-directory: crates/std/veryl
- name: Build check
run: veryl check
working-directory: crates/std/veryl
- name: Test
run: veryl test --sim verilator
working-directory: crates/std/veryl