From e07f54921c130519ac660b39a4c59d7b71b82dd3 Mon Sep 17 00:00:00 2001 From: edde746 <86283021+edde746@users.noreply.github.com> Date: Wed, 1 Jul 2026 06:35:05 +0200 Subject: [PATCH] ci(windows): install patched DComp engine for x64 and arm64 --- .github/workflows/build.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 71bffb79..b4ebdf03 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -405,6 +405,12 @@ jobs: - name: Install dependencies run: flutter pub get --enforce-lockfile --no-example + - name: Install patched Flutter engine (DComp) + shell: pwsh + run: | + flutter precache --windows + .\windows\tool\install-patched-engine.ps1 + - name: Build Windows x64 run: flutter build windows --release --dart-define=ENABLE_UPDATE_CHECK=true ${{ env.SENTRY_DART_DEFINE }} ${{ env.GIT_COMMIT_DART_DEFINE }} ${{ env.SENTRY_ENV_DART_DEFINE }} --dart-define=SENTRY_DIST=github-windows-x64 ${{ env.DONATIONS_DART_DEFINE }} --split-debug-info=debug-info/windows-x64 @@ -446,7 +452,7 @@ jobs: - name: Setup Flutter uses: subosito/flutter-action@v2 with: - channel: "master" + channel: "stable" flutter-version: "3.44.0" cache: true pub-cache: false @@ -461,6 +467,12 @@ jobs: - name: Install dependencies run: flutter pub get --no-example + - name: Install patched Flutter engine (DComp) + shell: pwsh + run: | + flutter precache --windows + .\windows\tool\install-patched-engine.ps1 + - name: Build Windows arm64 run: flutter build windows --release --dart-define=ENABLE_UPDATE_CHECK=true ${{ env.SENTRY_DART_DEFINE }} ${{ env.GIT_COMMIT_DART_DEFINE }} ${{ env.SENTRY_ENV_DART_DEFINE }} --dart-define=SENTRY_DIST=github-windows-arm64 ${{ env.DONATIONS_DART_DEFINE }} --split-debug-info=debug-info/windows-arm64