arctk 2.0.10

Numerical simulations of physical systems
Documentation
---
name: Quick CI

on:
    push:
        branches:
            - dev
    pull_request:
        branches:
            - dev

jobs:
    build:
        name: Build
        runs-on: ${{ matrix.os }}
        strategy:
            matrix:
                os:
                    - ubuntu-latest
        steps:
            - name: Checkout sources
              uses: actions/checkout@v2

            - name: Install stable toolchain
              uses: actions-rs/toolchain@v1
              with:
                  profile: minimal
                  toolchain: stable
                  override: true

            - name: Run cargo build
              uses: actions-rs/cargo@v1
              with:
                  command: build

            - name: Create artifact
              uses: actions/upload-artifact@v3
              with:
                  name: target-artifact
                  path: target/

    check:
        name: Check
        needs: Build
        runs-on: ${{ matrix.os }}
        strategy:
            matrix:
                os:
                    - ubuntu-latest
        steps:
            - name: Checkout sources
              uses: actions/checkout@v2

            - uses: actions/download-artifact@v3
              with:
                  name: target-artifact

            - name: Run cargo check
              uses: actions-rs/cargo@v1
              with:
                  command: check

    test:
        name: Test
        needs: Build
        runs-on: ${{ matrix.os }}
        strategy:
            matrix:
                os:
                    - ubuntu-latest
        steps:
            - name: Checkout sources
              uses: actions/checkout@v2

            - uses: actions/download-artifact@v3
              with:
                  name: target-artifact

            - name: Run cargo test
              uses: actions-rs/cargo@v1
              with:
                  command: test