From eacdf56e0b0a08a391e749ad057b3517ebcb0307 Mon Sep 17 00:00:00 2001 From: Keeley Hammond Date: Tue, 11 Jun 2024 14:43:11 -0500 Subject: [PATCH] build: build ffmpeg on MAS publish (#42448) --- .github/workflows/macos-pipeline.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/macos-pipeline.yml b/.github/workflows/macos-pipeline.yml index a219e02eef..75da7d7e48 100644 --- a/.github/workflows/macos-pipeline.yml +++ b/.github/workflows/macos-pipeline.yml @@ -507,7 +507,7 @@ jobs: else electron/script/zip-symbols.py -b $BUILD_PATH fi - - name: Generate FFMpeg + - name: Generate FFMpeg (darwin) if: ${{ inputs.is-release }} run: | cd src @@ -628,6 +628,12 @@ jobs: else electron/script/zip-symbols.py -b $BUILD_PATH fi + - name: Generate FFMpeg (mas) + if: ${{ inputs.is-release }} + run: | + cd src + gn gen out/ffmpeg --args="import(\"//electron/build/args/ffmpeg.gn\") use_remoteexec=true $GN_EXTRA_ARGS" + autoninja -C out/ffmpeg electron:electron_ffmpeg_zip -j $NUMBER_OF_NINJA_PROCESSES # TODO(vertedinde): These uploads currently point to a different Azure bucket & GitHub Repo - name: Publish Electron Dist if: ${{ inputs.is-release }}