This commit is contained in:
Mathieu Duponchelle 2021-07-02 17:15:53 +02:00
Родитель 7eec04faa9
Коммит 09adb93c1d
2 изменённых файлов: 46 добавлений и 0 удалений

44
.github/workflows/CI.yml поставляемый Normal file
Просмотреть файл

@ -0,0 +1,44 @@
on:
push:
branches: [main]
pull_request:
name: CI
jobs:
build-linux:
runs-on: ubuntu-latest
container:
image: mathieudu/gstreamer-auteur:latest
strategy:
matrix:
rust:
- stable
- nightly
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
components: clippy
- run: cargo clippy -- -D warnings
- run: cargo check
- name: run tests
run: cargo test
fmt:
name: rust fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: rustup component add rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check

Просмотреть файл

@ -1,3 +1,5 @@
![Auteur CI](https://github.com/MathieuDuponchelle/auteur/actions/workflows/CI.yml/badge.svg?branch=main)
# Auteur
The current scope of this project is that of a basic live node