name: Examples

on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]

env:
  CARGO_TERM_COLOR: always

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - name: Checkout with submodules
      uses: actions/checkout@v2
      with:
        submodules: recursive
    - name: Build s2 example
      working-directory: ./examples/s2
      run: cargo build --all --verbose
    - name: Build steam example
      working-directory: ./examples/steam-mini
      run: cargo build --all --verbose
    - name: Build subclass example
      working-directory: ./examples/subclass
      run: cargo build --all --verbose

name: Examples

on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]

env:
  CARGO_TERM_COLOR: always

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - name: Checkout with submodules
      uses: actions/checkout@v2
      with:
        submodules: recursive
    - name: Build s2 example
      working-directory: ./examples/s2
      run: cargo build --all --verbose
    - name: Build steam example
      working-directory: ./examples/steam-mini
      run: cargo build --all --verbose
    - name: Build subclass example
      working-directory: ./examples/subclass
      run: cargo build --all --verbose
    - name: Build pod example
      working-directory: ./examples/pod
      run: cargo build --all --verbose

Build POD example on CI.
Build POD example on CI.
