-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
11 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ name: CI | |
on: | ||
# Triggers the workflow on push or pull request events but only for the master branch | ||
push: | ||
branches: [ master ] | ||
branches: [ master, test_ga ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
|
@@ -16,18 +16,22 @@ jobs: | |
build_and_test: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-22.04 | ||
container: nomalab/ffmpeg:5.0.1 | ||
|
||
continue-on-error: ${{ (matrix.rust == 'beta') || (matrix.rust == 'nightly') }} | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
rust: [ | ||
1.69.0, | ||
1.70.0, | ||
1.71.0, | ||
1.72.0, | ||
1.73.0, | ||
1.74.0, | ||
1.75.0, | ||
1.76.0, | ||
1.77.0, | ||
1.78.0, | ||
stable, | ||
beta, | ||
nightly | ||
|
@@ -37,18 +41,6 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install libs | ||
run: >- | ||
sudo apt-get update && | ||
sudo apt-get install libasound2-dev libavcodec-dev | ||
libavformat-dev libavutil-dev libavdevice-dev libavfilter-dev | ||
libpostproc-dev libswscale-dev -y | ||
- name: Setup FFmpeg | ||
uses: Iamshankhadeep/[email protected] | ||
with: | ||
version: "5.0" | ||
|
||
- name: Install Rust | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
|
@@ -81,17 +73,11 @@ jobs: | |
|
||
clippy: | ||
runs-on: ubuntu-22.04 | ||
container: nomalab/ffmpeg:5.0.1 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install libs | ||
run: >- | ||
sudo apt-get update && | ||
sudo apt-get install libasound2-dev libavcodec-dev | ||
libavformat-dev libavutil-dev libavdevice-dev libavfilter-dev | ||
libpostproc-dev libswscale-dev -y | ||
- name: Install Rust with clippy | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
|
@@ -105,22 +91,13 @@ jobs: | |
|
||
tarpaulin: | ||
runs-on: ubuntu-22.04 | ||
container: | ||
image: nomalab/ffmpeg:5.0.1 | ||
options: --security-opt seccomp=unconfined | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install libs | ||
run: >- | ||
sudo apt-get update && | ||
sudo apt-get install libasound2-dev libavcodec-dev | ||
libavformat-dev libavutil-dev libavdevice-dev libavfilter-dev | ||
libpostproc-dev libswscale-dev -y | ||
- name: Setup FFmpeg | ||
uses: Iamshankhadeep/[email protected] | ||
with: | ||
version: "5.0" | ||
|
||
- name: Install Rust | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
|