From b32dabe290584bcd9f725bb771114dd2ecf23c0f Mon Sep 17 00:00:00 2001 From: Kornel Date: Fri, 14 Jun 2024 23:41:42 +0100 Subject: [PATCH] Add CI --- .github/workflows/tests.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 00000000..7ab761d0 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,21 @@ +name: Tests + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Install ffmpeg + run: sudo apt-get -y install ffmpeg pkg-config libavutil-dev + - uses: actions/checkout@v4 + - name: Run tests + run: cargo test --all --verbose