From: Jeremy Drake <[email protected]> Building this on arm requires passing the --host option; on x86 the default "uname -m" works for both i686 and x86_64 (ffmpeg's configure maps this to the architecture "x86", and the pointer size is tested from the compiler), but for arm architectures we need to specify them explicitly.
Signed-off-by: Martin Storsjö <[email protected]> --- Not sure if we want to do this, yet at least. These tests seem to run into occasional spurious failures at times - not sure yet why that is; it may be related to the msys2 shell and associated msys2 binaries running emulated. --- .github/workflows/build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 98e89953b..2780282b5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -280,13 +280,15 @@ jobs: test-ffmpeg: needs: [llvm-mingw] - runs-on: windows-latest strategy: fail-fast: false matrix: arch: - i686 - x86_64 + - armv7 + - aarch64 + runs-on: ${{startsWith(matrix.arch, 'a') && 'windows-11-arm' || 'windows-latest'}} defaults: run: shell: msys2 {0} @@ -330,7 +332,7 @@ jobs: export PATH=/llvm-mingw/bin:$PATH mkdir ffmpeg-build cd ffmpeg-build - ../ffmpeg/configure --samples=../fate-samples --enable-gpl + ../ffmpeg/configure --arch=${{matrix.arch}} --samples=../fate-samples --enable-gpl make -j$(nproc) make fate-rsync make -j$(nproc) fate -- 2.43.0 _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
