rrplug 4.2.1

framework for R2Northstar plugins
Documentation
name: rrplug-test-build

on:
  push:
    branches: [ "master" ]
  pull_request:
    branches: [ "master" ]

env:
  CARGO_TERM_COLOR: always

jobs:
  build:

    runs-on: windows-latest

    steps:
    - uses: actions/checkout@v4
    - uses: actions/cache@v4.2.3
      with:
         # A list of files, directories, and wildcard patterns to cache and restore
        path: target/
        # An explicit key for restoring and saving the cache
        key: whar
    - name: Build
      run: |
        cargo build --all-features
    - name: Check clippy
      run: |
        cargo clippy
    - name: Run tests
      run: cargo test --verbose --target x86_64-pc-windows-msvc 
    - name: Test examples
      run: | 
        cargo build --example async_engine --features="async_engine" 
        cargo build --example cvar_example 
        cargo build --example squirrel_example