Skip to content

Commit

Permalink
Add test -DWITH_PFFFT=OFF
Browse files Browse the repository at this point in the history
  • Loading branch information
dofuuz committed Dec 21, 2024
1 parent 998e05b commit c414125
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,27 +35,25 @@ jobs:
name: ${{ matrix.os }}-${{ matrix.build_type }}
path: ${{ matrix.build_type }}

build-avfft:
# Test WITH_AVFFT=ON
build-ffts:
strategy:
fail-fast: false
matrix:
build_type: [Release]
fft_flag: [-DWITH_AVFFT=ON, -DWITH_PFFFT=OFF]
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: seanmiddleditch/gha-setup-ninja@v5

- name: Install libavcodec
run: sudo apt install libavcodec-dev

- name: Configure CMake
run: >
cmake -B ${{ matrix.build_type }}
-G "Ninja"
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
-DWITH_AVFFT=ON
${{ matrix.fft_flag }}
-S ${{ github.workspace }}
- name: Build
Expand All @@ -68,5 +66,5 @@ jobs:
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: ${{ matrix.os }}-avfft-${{ matrix.build_type }}
name: ${{ matrix.fft_flag }}-${{ matrix.build_type }}
path: ${{ matrix.build_type }}

0 comments on commit c414125

Please sign in to comment.