Skip to content

[infra] Try using dart sdk dev release lowerbound #2189

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/native.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,11 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu, macos, windows]
sdk: [stable, dev]
sdk: [dev]
package: [native_assets_builder, native_assets_cli, native_toolchain_c]
# Breaking changes temporarily break the example run on the Dart SDK until native_assets_builder is rolled into the Dart SDK dev build.
breaking-change: [false]


runs-on: ${{ matrix.os }}-latest

defaults:
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/native_toolchain_c.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
matrix:
os: [ubuntu]
sdk: [stable]
sdk: [dev]
package: [native_toolchain_c]

runs-on: ${{ matrix.os }}-latest
Expand All @@ -41,13 +41,11 @@ jobs:
- uses: nttld/setup-ndk@afb4c9964b521afb97c864b7d40b11e6911bd410
with:
ndk-version: r27
if: ${{ matrix.sdk == 'stable' }}

- run: dart pub get

- name: Install native toolchains
run: sudo apt-get update && sudo apt-get install gcc-i686-linux-gnu gcc-aarch64-linux-gnu gcc-arm-linux-gnueabihf gcc-riscv64-linux-gnu
if: ${{ matrix.sdk == 'stable' && matrix.os == 'ubuntu' }}

- run: git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
- run: echo "$PWD/depot_tools" >> $GITHUB_PATH
Expand All @@ -57,4 +55,3 @@ jobs:
- run: clang --version

- run: dart test
if: ${{ matrix.sdk == 'stable' }}
4 changes: 4 additions & 0 deletions pkgs/native_assets_builder/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.15.0-wip

- Bump `package:native_assets_cli` to 0.15.0.

## 0.14.0

- Bump `package:native_assets_cli` to 0.14.0.
Expand Down
6 changes: 2 additions & 4 deletions pkgs/native_assets_builder/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
name: native_assets_builder
description: >-
This package is the backend that invokes build hooks.
version: 0.14.0
version: 0.15.0-wip
repository: https://github.com/dart-lang/native/tree/main/pkgs/native_assets_builder

# publish_to: none

resolution: workspace

environment:
Expand All @@ -18,7 +16,7 @@ dependencies:
graphs: ^2.3.2
logging: ^1.3.0
meta: ^1.16.0
native_assets_cli: ^0.14.0
native_assets_cli: ^0.15.0-0
package_config: ^2.1.0
pub_semver: ^2.2.0
yaml: ^3.1.3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ environment:
dependencies:
logging: ^1.3.0
meta: ^1.16.0
native_assets_cli: ^0.14.0
native_toolchain_c: ^0.11.0
native_assets_cli: ^0.15.0-0
native_toolchain_c: ^0.12.0-wip

dev_dependencies:
lints: ^5.1.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dependencies:
complex_link_helper:
path: ../complex_link_helper/
logging: ^1.3.0
native_assets_cli: ^0.14.0
native_assets_cli: ^0.15.0-0

dev_dependencies:
lints: ^5.1.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ environment:
dependencies:
cli_config: ^0.2.0
logging: ^1.3.0
native_assets_cli: ^0.14.0
native_assets_cli: ^0.15.0-0

dev_dependencies:
lints: ^5.1.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ environment:
dependencies:
cyclic_package_2:
path: ../cyclic_package_2
native_assets_cli: ^0.14.0
native_assets_cli: ^0.15.0-0

dev_dependencies:
lints: ^5.1.1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ environment:
dependencies:
cyclic_package_1:
path: ../cyclic_package_1
native_assets_cli: ^0.14.0
native_assets_cli: ^0.15.0-0

dev_dependencies:
lints: ^5.1.1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ environment:
dependencies:
fail_build:
path: ../fail_build/
native_assets_cli: ^0.14.0
native_assets_cli: ^0.15.0-0

dev_dependencies:
ffigen: ^18.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ environment:
dependencies:
depend_on_fail_build:
path: ../depend_on_fail_build/
native_assets_cli: ^0.14.0
native_assets_cli: ^0.15.0-0

dev_dependencies:
ffigen: ^18.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ environment:

dependencies:
logging: ^1.3.0
native_assets_cli: ^0.14.0
native_toolchain_c: ^0.11.0
native_assets_cli: ^0.15.0-0
native_toolchain_c: ^0.12.0-wip

dev_dependencies:
lints: ^5.1.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ environment:
sdk: '>=3.7.0 <4.0.0'

dependencies:
native_assets_cli: ^0.14.0
native_assets_cli: ^0.15.0-0

dev_dependencies:
ffigen: ^18.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ environment:
sdk: '>=3.7.0 <4.0.0'

dependencies:
native_assets_cli: ^0.14.0
native_assets_cli: ^0.15.0-0

dev_dependencies:
ffigen: ^18.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ environment:
dependencies:
fail_on_os_sdk_version_linker:
path: ../fail_on_os_sdk_version_linker/
native_assets_cli: ^0.14.0
native_assets_cli: ^0.15.0-0

dev_dependencies:
ffigen: ^18.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ environment:
sdk: '>=3.7.0 <4.0.0'

dependencies:
native_assets_cli: ^0.14.0
native_assets_cli: ^0.15.0-0

dev_dependencies:
ffigen: ^18.0.0
Expand Down
4 changes: 2 additions & 2 deletions pkgs/native_assets_builder/test_data/native_add/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ environment:

dependencies:
logging: ^1.3.0
native_assets_cli: ^0.14.0
native_toolchain_c: ^0.11.0
native_assets_cli: ^0.15.0-0
native_toolchain_c: ^0.12.0-wip

dev_dependencies:
ffigen: ^18.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ environment:

dependencies:
logging: ^1.3.0
native_assets_cli: ^0.14.0
native_toolchain_c: ^0.11.0
native_assets_cli: ^0.15.0-0
native_toolchain_c: ^0.12.0-wip

dev_dependencies:
ffigen: ^18.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ dependencies:
logging: ^1.3.0
native_add:
path: ../native_add/
native_assets_cli: ^0.14.0
native_toolchain_c: ^0.11.0
native_assets_cli: ^0.15.0-0
native_toolchain_c: ^0.12.0-wip

dev_dependencies:
ffigen: ^18.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ environment:

dependencies:
logging: ^1.3.0
native_assets_cli: ^0.14.0
native_toolchain_c: ^0.11.0
native_assets_cli: ^0.15.0-0
native_toolchain_c: ^0.12.0-wip

dev_dependencies:
ffigen: ^18.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ environment:

dependencies:
logging: ^1.3.0
native_assets_cli: ^0.14.0
native_toolchain_c: ^0.11.0
native_assets_cli: ^0.15.0-0
native_toolchain_c: ^0.12.0-wip

dev_dependencies:
ffigen: ^18.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ environment:
dependencies:
logging: ^1.3.0
meta: ^1.16.0
native_assets_cli: ^0.14.0
native_assets_cli: ^0.15.0-0

dev_dependencies:
lints: ^5.1.1
Expand Down
4 changes: 2 additions & 2 deletions pkgs/native_assets_builder/test_data/no_hook/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ environment:

dependencies:
logging: ^1.3.0
native_assets_cli: ^0.14.0
native_toolchain_c: ^0.11.0
native_assets_cli: ^0.15.0-0
native_toolchain_c: ^0.12.0-wip

dev_dependencies:
ffigen: ^18.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ environment:
sdk: '>=3.7.0 <4.0.0'

dependencies:
native_assets_cli: ^0.14.0
native_assets_cli: ^0.15.0-0
package_with_metadata:
path: ../package_with_metadata/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ environment:
sdk: '>=3.7.0 <4.0.0'

dependencies:
native_assets_cli: ^0.14.0
native_assets_cli: ^0.15.0-0

dev_dependencies:
lints: ^5.1.1
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ environment:

dependencies:
logging: ^1.3.0
native_assets_cli: ^0.14.0
native_assets_cli: ^0.15.0-0

dev_dependencies:
lints: ^5.1.1
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ environment:

dependencies:
logging: ^1.1.1
native_assets_cli: ^0.14.0
native_toolchain_c: ^0.11.0
native_assets_cli: ^0.15.0-0
native_toolchain_c: ^0.12.0-wip

dev_dependencies:
ffigen: ^18.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ environment:

dependencies:
logging: ^1.1.1
native_assets_cli: ^0.14.0
native_toolchain_c: ^0.11.0
native_assets_cli: ^0.15.0-0
native_toolchain_c: ^0.12.0-wip
reusable_dynamic_library:
path: ../reusable_dynamic_library/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ environment:

dependencies:
logging: ^1.3.0
native_assets_cli: ^0.14.0
native_assets_cli: ^0.15.0-0

dev_dependencies:
lints: ^5.1.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ environment:
dependencies:
cli_config: ^0.2.0
logging: ^1.3.0
native_assets_cli: ^0.14.0
native_assets_cli: ^0.15.0-0

dev_dependencies:
lints: ^5.1.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ environment:

dependencies:
logging: ^1.3.0
native_assets_cli: ^0.14.0
native_toolchain_c: ^0.11.0
native_assets_cli: ^0.15.0-0
native_toolchain_c: ^0.12.0-wip

dev_dependencies:
ffigen: ^18.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ environment:

dependencies:
crypto: ^3.0.6
native_assets_cli: ^0.14.0
native_assets_cli: ^0.15.0-0

dev_dependencies:
lints: ^5.1.1
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ environment:

dependencies:
logging: ^1.3.0
native_assets_cli: ^0.14.0
native_toolchain_c: ^0.11.0
native_assets_cli: ^0.15.0-0
native_toolchain_c: ^0.12.0-wip

dev_dependencies:
ffigen: ^18.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ environment:
dependencies:
cli_config: ^0.2.0
logging: ^1.3.0
native_assets_cli: ^0.14.0
native_assets_cli: ^0.15.0-0

dev_dependencies:
lints: ^5.1.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ environment:
sdk: '>=3.7.0 <4.0.0'

dependencies:
native_assets_cli: ^0.14.0
native_assets_cli: ^0.15.0-0

dev_dependencies:
lints: ^5.1.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ environment:
sdk: '>=3.7.0 <4.0.0'

dependencies:
native_assets_cli: ^0.14.0
native_assets_cli: ^0.15.0-0

dev_dependencies:
lints: ^5.1.1
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ environment:
sdk: '>=3.7.0 <4.0.0'

dependencies:
native_assets_cli: ^0.14.0
native_assets_cli: ^0.15.0-0

dev_dependencies:
lints: ^5.1.1
Loading