Skip to content

Commit ae5aeca

Browse files
authored
[infra] pin dev release for package:native_x (#1233)
1 parent 3187d54 commit ae5aeca

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

.github/workflows/native.yaml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,12 @@ jobs:
3232
matrix:
3333
os: [ubuntu, macos, windows]
3434
# TODO(https://github.com/dart-lang/native/issues/1154): Use 'stable' instead of 3.3.0.
35-
sdk: [stable, 3.3.0, dev]
35+
# TODO(https://github.com/dart-lang/native/issues/1232): Use 'dev' instead of 3.5.0-219.0.dev.
36+
sdk: [stable, 3.3.0, 3.5.0-219.0.dev]
3637
package: [native_assets_builder, native_assets_cli, native_toolchain_c]
3738
# Breaking changes temporarily break the example run on the Dart SDK until native_assets_builder is rolled into the Dart SDK dev build.
3839
breaking-change: [false]
3940
exclude:
40-
# Only run analyze against dev on one host.
41-
- os: macos
42-
sdk: dev
43-
- os: windows
44-
sdk: dev
4541
# TODO(https://github.com/dart-lang/native/issues/1154): Use 'stable' instead of 3.3.0.
4642
- os: macos
4743
sdk: 3.3.0
@@ -136,23 +132,23 @@ jobs:
136132

137133
- run: dart --enable-experiment=native-assets test
138134
working-directory: pkgs/${{ matrix.package }}/example/build/native_add_app/
139-
if: ${{ matrix.package == 'native_assets_cli' && matrix.sdk == 'dev' && !matrix.breaking-change }}
135+
if: ${{ matrix.package == 'native_assets_cli' && matrix.sdk == '3.5.0-219.0.dev' && !matrix.breaking-change }}
140136

141137
- run: dart --enable-experiment=native-assets run
142138
working-directory: pkgs/${{ matrix.package }}/example/build/native_add_app/
143-
if: ${{ matrix.package == 'native_assets_cli' && matrix.sdk == 'dev' && !matrix.breaking-change }}
139+
if: ${{ matrix.package == 'native_assets_cli' && matrix.sdk == '3.5.0-219.0.dev' && !matrix.breaking-change }}
144140

145141
- run: dart --enable-experiment=native-assets build bin/native_add_app.dart
146142
working-directory: pkgs/${{ matrix.package }}/example/build/native_add_app/
147-
if: ${{ matrix.package == 'native_assets_cli' && matrix.sdk == 'dev' && !matrix.breaking-change }}
143+
if: ${{ matrix.package == 'native_assets_cli' && matrix.sdk == '3.5.0-219.0.dev' && !matrix.breaking-change }}
148144

149145
- run: ./native_add_app.exe
150146
working-directory: pkgs/${{ matrix.package }}/example/build/native_add_app/bin/native_add_app/
151-
if: ${{ matrix.package == 'native_assets_cli' && matrix.sdk == 'dev' && !matrix.breaking-change }}
147+
if: ${{ matrix.package == 'native_assets_cli' && matrix.sdk == '3.5.0-219.0.dev' && !matrix.breaking-change }}
152148

153149
- run: dart --enable-experiment=native-assets test
154150
working-directory: pkgs/${{ matrix.package }}/example/build/use_dart_api/
155-
if: ${{ matrix.package == 'native_assets_cli' && matrix.sdk == 'dev' && !matrix.breaking-change }}
151+
if: ${{ matrix.package == 'native_assets_cli' && matrix.sdk == '3.5.0-219.0.dev' && !matrix.breaking-change }}
156152

157153
- name: Install coverage
158154
run: dart pub global activate coverage

0 commit comments

Comments
 (0)