|  | 
| 22 | 22 |         os: [ubuntu, macos, windows] | 
| 23 | 23 |         sdk: [stable, dev] | 
| 24 | 24 |         package: [native_assets_builder, native_assets_cli, native_toolchain_c] | 
|  | 25 | +        # Breaking changes temporarily break the example run on the Dart SDK until native_assets_builder is rolled into the Dart SDK dev build. | 
|  | 26 | +        # TODO(https://github.com/dart-lang/native/issues/116): Set to false. | 
|  | 27 | +        breaking-change: [true] | 
| 25 | 28 |         exclude: | 
| 26 | 29 |           # Only run analyze against dev on one host. | 
| 27 | 30 |           - os: macos | 
| @@ -86,30 +89,21 @@ jobs: | 
| 86 | 89 |       - run: dart test | 
| 87 | 90 |         if: ${{ matrix.sdk == 'stable' }} | 
| 88 | 91 | 
 | 
| 89 |  | -      # This might temporarily break when doing breaking changes. | 
| 90 | 92 |       - run: dart --enable-experiment=native-assets test | 
| 91 | 93 |         working-directory: pkgs/${{ matrix.package }}/example/native_add_app/ | 
| 92 |  | -        if: ${{ matrix.package == 'native_assets_cli' && matrix.sdk == 'dev' }} | 
|  | 94 | +        if: ${{ matrix.package == 'native_assets_cli' && matrix.sdk == 'dev' && !matrix.breaking-change }} | 
| 93 | 95 | 
 | 
| 94 |  | -      # This might temporarily break when doing breaking changes. | 
| 95 |  | -      - run: dart --enable-experiment=native-assets test | 
| 96 |  | -        working-directory: pkgs/${{ matrix.package }}/example/native_add_app/ | 
| 97 |  | -        if: ${{ matrix.package == 'native_assets_cli' && matrix.sdk == 'dev' }} | 
| 98 |  | - | 
| 99 |  | -      # This might temporarily break when doing breaking changes. | 
| 100 | 96 |       - run: dart --enable-experiment=native-assets run | 
| 101 | 97 |         working-directory: pkgs/${{ matrix.package }}/example/native_add_app/ | 
| 102 |  | -        if: ${{ matrix.package == 'native_assets_cli' && matrix.sdk == 'dev' }} | 
|  | 98 | +        if: ${{ matrix.package == 'native_assets_cli' && matrix.sdk == 'dev' && !matrix.breaking-change }} | 
| 103 | 99 | 
 | 
| 104 |  | -      # This might temporarily break when doing breaking changes. | 
| 105 | 100 |       - run: dart --enable-experiment=native-assets build bin/native_add_app.dart | 
| 106 | 101 |         working-directory: pkgs/${{ matrix.package }}/example/native_add_app/ | 
| 107 |  | -        if: ${{ matrix.package == 'native_assets_cli' && matrix.sdk == 'dev' }} | 
|  | 102 | +        if: ${{ matrix.package == 'native_assets_cli' && matrix.sdk == 'dev' && !matrix.breaking-change }} | 
| 108 | 103 | 
 | 
| 109 |  | -      # This might temporarily break when doing breaking changes. | 
| 110 | 104 |       - run: ./native_add_app.exe | 
| 111 | 105 |         working-directory: pkgs/${{ matrix.package }}/example/native_add_app/bin/native_add_app/ | 
| 112 |  | -        if: ${{ matrix.package == 'native_assets_cli' && matrix.sdk == 'dev' }} | 
|  | 106 | +        if: ${{ matrix.package == 'native_assets_cli' && matrix.sdk == 'dev' && !matrix.breaking-change }} | 
| 113 | 107 | 
 | 
| 114 | 108 |       - name: Install coverage | 
| 115 | 109 |         run: dart pub global activate coverage | 
|  | 
0 commit comments