Skip to content

Commit

Permalink
Another test
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianFeldmann committed Apr 21, 2024
1 parent 3d14e10 commit c7a7584
Showing 1 changed file with 2 additions and 28 deletions.
30 changes: 2 additions & 28 deletions .github/workflows/BuildAndTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,32 +33,6 @@ jobs:
name: ${{ matrix.config.artifactName }}
path: ${{ github.workspace }}/build/test/ffmpegTest/${{ matrix.config.buildPath }}${{ matrix.config.ffmpegTest }}

testFFmpegVersions:
needs: build
strategy:
matrix:
config: [ {os: windows-latest, artifactName: ffmpegTestWindows, azureFolder: windows, unzipCommand: 7z x } ]
ffmpegVersions: ["7.0"]
runs-on: ${{ matrix.config.os }}
steps:
- uses: actions/download-artifact@master
with:
name: ${{ matrix.config.artifactName }}

- name: Make ffmpegTest executable
run: chmod a+x ffmpegTest
if: ${{ matrix.config.os }} != windows-latest

- name: Download FFmpeg
run: |
curl -L "${{ secrets.AZURE_BLOB_ROOT_PATH }}ffmpeg/${{ matrix.config.azureFolder }}/ffmpeg-${{ matrix.ffmpegVersions }}.zip${{ secrets.AZURE_BLOB_TOKEN }}" -o ffmpeg.zip
curl -L "${{ secrets.AZURE_BLOB_ROOT_PATH }}bitstream-testfiles/TestFile_h264_aac_1s_320x240.mp4${{ secrets.AZURE_BLOB_TOKEN }}" -o TestFile_h264_aac_1s_320x240.mp4
${{ matrix.config.unzipCommand }} ffmpeg.zip
rm ffmpeg.zip
- name: runffmpegTest
run: ./ffmpegTest

testFFmpegNativeInstall:
needs: build
strategy:
Expand Down Expand Up @@ -86,8 +60,8 @@ jobs:

- name: Debug ffmpegTest
run: |
dir C:\ProgramData\chocolatey\lib\ffmpeg-shared\tools
dir C:\ProgramData\chocolatey\lib\ffmpeg-shared\tools\bin
dir C:\ProgramData\chocolatey\lib\ffmpeg-shared\tools\ffmpeg-7.0-full_build-shared
dir C:\ProgramData\chocolatey\lib\ffmpeg-shared\tools\ffmpeg-7.0-full_build-shared\bin
- name: Download Test files
run: curl -L "${{ secrets.AZURE_BLOB_ROOT_PATH }}bitstream-testfiles/TestFile_h264_aac_1s_320x240.mp4${{ secrets.AZURE_BLOB_TOKEN }}" -o TestFile_h264_aac_1s_320x240.mp4
Expand Down

0 comments on commit c7a7584

Please sign in to comment.