aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/run-tests.yml
blob: 63638a9671cc399724fa6a1d3cedf7b42fa58e35 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
name: Rust

on: [push]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - name: Clone pokebot
      uses: actions/checkout@v1
    - name: Update repositories
      run: sudo apt-get update
    - name: Install gstreamer dependency
      run: sudo apt-get install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
    - name: Build
      run: cargo build --verbose
    - name: Run tests
      run: cargo test --verbose