Skip to content

Commit

Permalink
[infra] Rename dart.yaml to native.yaml (#176)
Browse files Browse the repository at this point in the history
When we're going to merge in more packages into this repo, they'll have their own workflows.

So rename the current workflow to something more specific.

Context:

* https://github.com/dart-lang/jnigen/issues/410
* https://github.com/dart-lang/ffigen/issues/635
* https://github.com/dart-lang/ffi/issues/218
  • Loading branch information
dcharkes authored Nov 1, 2023
1 parent 8bdc420 commit df0b657
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 8 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/dart.yaml → .github/workflows/native.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,25 @@
name: dart
# CI for the native_* packages.
#
# Combined into a single workflow so that deps are configured and installed once.

name: native
permissions: read-all

on:
pull_request:
branches: [main]
paths:
- ".github/workflows/dart.yaml"
- "pkgs/**"
- ".github/workflows/native.yaml"
- "pkgs/native_assets_builder/**"
- "pkgs/native_assets_cli/**"
- "pkgs/native_toolchain_c/**"
push:
branches: [main]
paths:
- ".github/workflows/dart.yaml"
- "pkgs/**"
- ".github/workflows/native.yaml"
- "pkgs/native_assets_builder/**"
- "pkgs/native_assets_cli/**"
- "pkgs/native_toolchain_c/**"
schedule:
- cron: "0 0 * * 0" # weekly

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/native_toolchain_c.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Workflow that runs relevant tests with the clang from the Dart SDK.

name: native_toolchain_c
permissions: read-all

Expand Down
2 changes: 1 addition & 1 deletion pkgs/native_assets_builder/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![dart](https://github.com/dart-lang/native/actions/workflows/dart.yaml/badge.svg)](https://github.com/dart-lang/native/actions/workflows/dart.yaml)
[![dart](https://github.com/dart-lang/native/actions/workflows/native.yaml/badge.svg)](https://github.com/dart-lang/native/actions/workflows/native.yaml)
[![Coverage Status](https://coveralls.io/repos/github/dart-lang/native/badge.svg?branch=main)](https://coveralls.io/github/dart-lang/native?branch=main)
[![pub package](https://img.shields.io/pub/v/native_assets_builder.svg)](https://pub.dev/packages/native_assets_builder)
[![package publisher](https://img.shields.io/pub/publisher/native_assets_builder.svg)](https://pub.dev/packages/native_assets_builder/publisher)
Expand Down
2 changes: 1 addition & 1 deletion pkgs/native_assets_cli/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![package:native_assets_cli](https://github.com/dart-lang/native/actions/workflows/dart.yaml/badge.svg)](https://github.com/dart-lang/native/actions/workflows/dart.yaml)
[![package:native_assets_cli](https://github.com/dart-lang/native/actions/workflows/native.yaml/badge.svg)](https://github.com/dart-lang/native/actions/workflows/native.yaml)
[![Coverage Status](https://coveralls.io/repos/github/dart-lang/native/badge.svg?branch=main)](https://coveralls.io/github/dart-lang/native?branch=main)
[![pub package](https://img.shields.io/pub/v/native_assets_cli.svg)](https://pub.dev/packages/native_assets_cli)
[![package publisher](https://img.shields.io/pub/publisher/native_assets_cli.svg)](https://pub.dev/packages/native_assets_cli/publisher)
Expand Down
2 changes: 1 addition & 1 deletion pkgs/native_toolchain_c/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![dart](https://github.com/dart-lang/native/actions/workflows/dart.yaml/badge.svg)](https://github.com/dart-lang/native/actions/workflows/dart.yaml)
[![dart](https://github.com/dart-lang/native/actions/workflows/native.yaml/badge.svg)](https://github.com/dart-lang/native/actions/workflows/native.yaml)
[![Coverage Status](https://coveralls.io/repos/github/dart-lang/native/badge.svg?branch=main)](https://coveralls.io/github/dart-lang/native?branch=main)
[![pub package](https://img.shields.io/pub/v/native_toolchain_c.svg)](https://pub.dev/packages/native_toolchain_c)
[![package publisher](https://img.shields.io/pub/publisher/native_toolchain_c.svg)](https://pub.dev/packages/native_toolchain_c/publisher)
Expand Down

0 comments on commit df0b657

Please sign in to comment.