Skip to content

test

test #1231

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
ci:
runs-on: ${{ matrix.type.os }}
name: ${{ matrix.type.target }} (${{ matrix.type.os }})
strategy:
matrix:
type:
- { os: windows-latest, target: x86_64-pc-windows-gnu }
- { os: ubuntu-latest, target: x86_64-unknown-linux-gnu }
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/[email protected]
with:
components: rustfmt, clippy
target: ${{ matrix.type.target }}
- run: cargo fmt -- --check
working-directory: ${{ github.workspace }}/v2/robotmk/
- run: cargo test --all-targets --target ${{ matrix.type.target }}
working-directory: ${{ github.workspace }}/v2/robotmk/
- run: cargo clippy --all-targets --target ${{ matrix.type.target }} -- --deny warnings
working-directory: ${{ github.workspace }}/v2/robotmk/
- run: cargo build --target ${{ matrix.type.target }}
working-directory: ${{ github.workspace }}/v2/robotmk/
check_success:
if: always()
runs-on: ubuntu-latest
needs:
- ci
steps:
- uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}