Skip to content

Commit 359e253

Browse files
committed
Use our dart build on CI.
1 parent 50c6332 commit 359e253

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

.github/workflows/build-and-upload-engine-artifacts.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1360,7 +1360,7 @@ jobs:
13601360
- name: Run generator Verify-export-symbols
13611361
run: |
13621362
cd engine/src
1363-
FLUTTER_PREBUILT_ENGINE_VERSION=1a50ee5c0ff85b3f8cc8adeaf1977503cc51738d ../../bin/dart flutter/testing/symbols/verify_exported.dart \
1363+
FLUTTER_PREBUILT_ENGINE_VERSION=9a84f752d056218a334227d2710dba0b80141dc6 ../../bin/dart flutter/testing/symbols/verify_exported.dart \
13641364
src/out/ci \
13651365
src/flutter/buildtools
13661366
- name: Run generator Debug-gen_snapshots
@@ -1896,7 +1896,7 @@ jobs:
18961896
- name: Run generator Verify-export-symbols-release-binaries
18971897
run: |
18981898
cd engine/src
1899-
FLUTTER_PREBUILT_ENGINE_VERSION=1a50ee5c0ff85b3f8cc8adeaf1977503cc51738d ../../bin/dart flutter/testing/symbols/verify_exported.dart \
1899+
FLUTTER_PREBUILT_ENGINE_VERSION=9a84f752d056218a334227d2710dba0b80141dc6 ../../bin/dart flutter/testing/symbols/verify_exported.dart \
19001900
src/out/ci \
19011901
src/flutter/buildtools
19021902
- name: Tar engine/src/out/debug/artifacts.zip
@@ -2610,7 +2610,7 @@ jobs:
26102610
- name: Run generator Verify-export-symbols-release-binaries
26112611
run: |
26122612
cd engine/src
2613-
FLUTTER_PREBUILT_ENGINE_VERSION=1a50ee5c0ff85b3f8cc8adeaf1977503cc51738d ../../bin/dart flutter/testing/symbols/verify_exported.dart \
2613+
FLUTTER_PREBUILT_ENGINE_VERSION=9a84f752d056218a334227d2710dba0b80141dc6 ../../bin/dart flutter/testing/symbols/verify_exported.dart \
26142614
src/out/ci \
26152615
src/flutter/buildtools
26162616
- name: Run generator api-documentation
@@ -2621,7 +2621,7 @@ jobs:
26212621
- name: Run generator engine-stamp
26222622
run: |
26232623
cd engine/src
2624-
FLUTTER_PREBUILT_ENGINE_VERSION=1a50ee5c0ff85b3f8cc8adeaf1977503cc51738d ../../bin/dart flutter/tools/engine_tool/bin/et.dart \
2624+
FLUTTER_PREBUILT_ENGINE_VERSION=9a84f752d056218a334227d2710dba0b80141dc6 ../../bin/dart flutter/tools/engine_tool/bin/et.dart \
26252625
stamp
26262626
- name: Tar engine/src/out/docs/ios-docs.zip
26272627
run: |
@@ -4647,7 +4647,7 @@ jobs:
46474647
- name: Run generator Verify-export-symbols-release-binaries
46484648
run: |
46494649
cd engine/src
4650-
FLUTTER_PREBUILT_ENGINE_VERSION=1a50ee5c0ff85b3f8cc8adeaf1977503cc51738d ../../bin/dart flutter/testing/symbols/verify_exported.dart \
4650+
FLUTTER_PREBUILT_ENGINE_VERSION=9a84f752d056218a334227d2710dba0b80141dc6 ../../bin/dart flutter/testing/symbols/verify_exported.dart \
46514651
src/out/ci \
46524652
src/flutter/buildtools
46534653
linux_android_debug:
@@ -5229,7 +5229,7 @@ jobs:
52295229
- name: Run generator Verify-export-symbols-release-binaries
52305230
run: |
52315231
cd engine/src
5232-
FLUTTER_PREBUILT_ENGINE_VERSION=1a50ee5c0ff85b3f8cc8adeaf1977503cc51738d ../../bin/dart flutter/testing/symbols/verify_exported.dart \
5232+
FLUTTER_PREBUILT_ENGINE_VERSION=9a84f752d056218a334227d2710dba0b80141dc6 ../../bin/dart flutter/testing/symbols/verify_exported.dart \
52335233
src/out/ci \
52345234
src/flutter/buildtools
52355235
linux_wasm_release:

engine/src/flutter/tools/pkg/github_workflow_generator/lib/github_workflow_generator.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,9 @@ class BuildConfigWriter {
380380

381381
String _taskLauncherScript(String script, {required String language}) {
382382
if (language == 'dart') {
383-
return '../../bin/dart $script';
383+
// Use existing prebuilt engine version for the Dart SDK, as this is
384+
// executed before publishing new engine artifacts.
385+
return 'FLUTTER_PREBUILT_ENGINE_VERSION=9a84f752d056218a334227d2710dba0b80141dc6 ../../bin/dart $script';
384386
} else if (language == 'python3') {
385387
return 'python3 $script';
386388
} else if (language == 'bash' || language == '<undef>') {

0 commit comments

Comments
 (0)