Skip to content

rust-rewrite: Ported c-funcpack generator tests to rust integration t… #38

rust-rewrite: Ported c-funcpack generator tests to rust integration t…

rust-rewrite: Ported c-funcpack generator tests to rust integration t… #38

Workflow file for this run

name: ci
on:
push:
branches: ["schilkp/rust"]
jobs:
cargo-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- name: Cargo Test
run: cargo test --all
fmt-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: rustfmt
- name: Format Check
run: cargo fmt -- --check
clippy-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: clippy
- name: Lint
run: cargo clippy --all-features -- -D warnings
generator-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- uses: carlosperate/arm-none-eabi-gcc-action@v1
- name: Run old generator tests.
run:
bash ${{github.workspace}}/reginald_codegen/generator_tests/run_tests.bash
- name: Run generator tests.
run:
cargo test -- --ignored