Skip to content

Commit

Permalink
Merge branch 'main' into more_global_flake
Browse files Browse the repository at this point in the history
  • Loading branch information
liamappelbe committed Dec 18, 2024
2 parents 8d51e0c + f2a0e28 commit 74fc967
Show file tree
Hide file tree
Showing 584 changed files with 43,471 additions and 110,045 deletions.
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/ffi.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
name: "package:ffi"
about: "Create a bug or file a feature request against package:ffi."
labels: "package:ffi"
---
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/objective_c.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ name: "package:objective_c"
about: "Create a bug or file a feature request against package:objective_c."
labels: "package:objective_c"
---

32 changes: 18 additions & 14 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,40 +2,44 @@

'type-infra':
- changed-files:
- any-glob-to-any-file: '.github/**'
- any-glob-to-any-file: '.github/**'

'package:ffigen':
'package:ffi':
- changed-files:
- any-glob-to-any-file: 'pkgs/ffigen/**'
- any-glob-to-any-file: 'pkgs/ffi/**'

'package:jnigen':
'package:ffigen':
- changed-files:
- any-glob-to-any-file: 'pkgs/jnigen/**'
- any-glob-to-any-file: 'pkgs/ffigen/**'

'package:jni':
- changed-files:
- any-glob-to-any-file: 'pkgs/jni/**'
- any-glob-to-any-file: 'pkgs/jni/**'

'package:jnigen':
- changed-files:
- any-glob-to-any-file: 'pkgs/jnigen/**'

'package:native_assets_builder':
- changed-files:
- any-glob-to-any-file: 'pkgs/native_assets_builder/**'
- any-glob-to-any-file: 'pkgs/native_assets_builder/**'

'package:native_assets_cli':
- changed-files:
- any-glob-to-any-file: 'pkgs/native_assets_cli/**'
- any-glob-to-any-file: 'pkgs/native_assets_cli/**'

'package:native_toolchain_c':
- changed-files:
- any-glob-to-any-file: 'pkgs/native_toolchain_c/**'
- any-glob-to-any-file: 'pkgs/native_toolchain_c/**'

'package:objective_c':
- changed-files:
- any-glob-to-any-file: 'pkgs/objective_c/**'
- any-glob-to-any-file: 'pkgs/objective_c/**'

'package:swiftgen':
'package:swift2objc':
- changed-files:
- any-glob-to-any-file: 'pkgs/swiftgen/**'
- any-glob-to-any-file: 'pkgs/swift2objc/**'

'package:swift2objc':
'package:swiftgen':
- changed-files:
- any-glob-to-any-file: 'pkgs/swiftgen/swift2objc/**'
- any-glob-to-any-file: 'pkgs/swiftgen/**'
8 changes: 4 additions & 4 deletions .github/workflows/ffi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
matrix:
sdk: [dev]
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94
with:
sdk: ${{ matrix.sdk }}
- id: install
Expand Down Expand Up @@ -61,8 +61,8 @@ jobs:
os: [ubuntu-latest]
sdk: [beta, dev]
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94
with:
sdk: ${{ matrix.sdk }}
- id: install
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/ffigen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
# strategy:
# fail-fast: false
# steps:
# - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
# - uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
# - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
# - uses: subosito/flutter-action@74af56c5ed2697ba4621264652728e8d217e53d3
# with:
# channel: 'stable'
# - id: install
Expand All @@ -53,8 +53,8 @@ jobs:
# run:
# working-directory: pkgs/ffigen/
# steps:
# - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
# - uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
# - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
# - uses: subosito/flutter-action@74af56c5ed2697ba4621264652728e8d217e53d3
# with:
# channel: 'stable'
# - name: Install dependencies
Expand All @@ -74,8 +74,8 @@ jobs:
run:
working-directory: pkgs/ffigen/
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: subosito/flutter-action@74af56c5ed2697ba4621264652728e8d217e53d3
with:
channel: 'stable'
- name: Install dependencies
Expand Down Expand Up @@ -151,8 +151,8 @@ jobs:
# run:
# working-directory: pkgs/ffigen/
# steps:
# - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
# - uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
# - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
# - uses: subosito/flutter-action@74af56c5ed2697ba4621264652728e8d217e53d3
# with:
# channel: "master"
# - name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ffigen_weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
run:
working-directory: pkgs/ffigen/
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: subosito/flutter-action@74af56c5ed2697ba4621264652728e8d217e53d3
with:
channel: 'stable'
- name: Install dependencies
Expand Down
82 changes: 42 additions & 40 deletions .github/workflows/jnigen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,16 @@ jobs:
matrix:
sdk: [stable]
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: subosito/flutter-action@74af56c5ed2697ba4621264652728e8d217e53d3
with:
channel: ${{ matrix.sdk }}
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
- uses: axel-op/googlejavaformat-action@fe78db8a90171b6a836449f8d0e982d5d71e5c5a
- uses: axel-op/googlejavaformat-action@0dc4ef525e7ed73d8dff50b1b062a4d441d014b5
name: 'Check Java formatting with google-java-format'
with:
version: 'v1.24.0'
args: '--set-exit-if-changed'
- id: install
name: Install dependencies
Expand All @@ -75,13 +76,13 @@ jobs:
os: [ubuntu-latest]
sdk: [stable, beta]
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: subosito/flutter-action@74af56c5ed2697ba4621264652728e8d217e53d3
with:
channel: ${{ matrix.sdk }}
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
- uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73
- uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b
with:
distribution: 'zulu'
java-version: '17'
Expand Down Expand Up @@ -112,7 +113,7 @@ jobs:
- name: Collect coverage
run: dart pub global run coverage:test_with_coverage
- name: Upload coverage
uses: coverallsapp/github-action@643bc377ffa44ace6394b2b5d0d3950076de9f63
uses: coverallsapp/github-action@cfd0633edbd2411b532b808ba7a8b5e04f76d2c8
with:
flag-name: jnigen
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -126,19 +127,20 @@ jobs:
run:
working-directory: ./pkgs/jni
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: subosito/flutter-action@74af56c5ed2697ba4621264652728e8d217e53d3
with:
channel: 'stable'
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
- uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73
- uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b
with:
distribution: 'zulu'
java-version: '17'
- uses: axel-op/googlejavaformat-action@fe78db8a90171b6a836449f8d0e982d5d71e5c5a
- uses: axel-op/googlejavaformat-action@0dc4ef525e7ed73d8dff50b1b062a4d441d014b5
name: 'Check Java formatting with google-java-format'
with:
version: 'v1.24.0'
args: '--set-exit-if-changed'
- name: install clang tools & CMake
run: |
Expand All @@ -164,13 +166,13 @@ jobs:
run:
working-directory: ./pkgs/jni
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: subosito/flutter-action@74af56c5ed2697ba4621264652728e8d217e53d3
with:
channel: 'stable'
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
- uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73
- uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b
with:
distribution: 'zulu'
java-version: '17'
Expand All @@ -188,7 +190,7 @@ jobs:
- name: Collect coverage
run: dart pub global run coverage:test_with_coverage
- name: Upload coverage
uses: coverallsapp/github-action@643bc377ffa44ace6394b2b5d0d3950076de9f63
uses: coverallsapp/github-action@cfd0633edbd2411b532b808ba7a8b5e04f76d2c8
with:
flag-name: jni
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -213,13 +215,13 @@ jobs:
run:
working-directory: ./pkgs/jni
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: subosito/flutter-action@74af56c5ed2697ba4621264652728e8d217e53d3
with:
channel: 'stable'
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
- uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73
- uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b
with:
distribution: 'zulu'
java-version: '17'
Expand All @@ -235,18 +237,18 @@ jobs:
run:
working-directory: ./pkgs/jnigen
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Setup clang
uses: egor-tensin/setup-clang@ef434b41eb33a70396fb336b1bae39c76d740c3d
with:
version: latest
platform: x64
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
- uses: subosito/flutter-action@74af56c5ed2697ba4621264652728e8d217e53d3
with:
channel: 'stable'
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
- uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73
- uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b
with:
distribution: 'zulu'
java-version: '17'
Expand All @@ -266,13 +268,13 @@ jobs:
run:
working-directory: ./pkgs/jni
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: subosito/flutter-action@74af56c5ed2697ba4621264652728e8d217e53d3
with:
channel: 'stable'
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
- uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73
- uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b
with:
distribution: 'temurin'
java-version: '17'
Expand All @@ -287,17 +289,17 @@ jobs:
run:
working-directory: ./pkgs/jnigen
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Setup clang format
uses: ConorMacBride/install-package@3e7ad059e07782ee54fa35f827df52aae0626f30
with:
brew: clang-format
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
- uses: subosito/flutter-action@74af56c5ed2697ba4621264652728e8d217e53d3
with:
channel: 'stable'
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
- uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73
- uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b
with:
distribution: 'temurin'
java-version: '17'
Expand All @@ -314,13 +316,13 @@ jobs:
run:
working-directory: ./pkgs/jni/example
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: subosito/flutter-action@74af56c5ed2697ba4621264652728e8d217e53d3
with:
channel: 'stable'
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
- uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73
- uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b
with:
distribution: 'zulu'
java-version: '17'
Expand All @@ -338,13 +340,13 @@ jobs:
run:
working-directory: ./pkgs/jni/example
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: subosito/flutter-action@74af56c5ed2697ba4621264652728e8d217e53d3
with:
channel: 'stable'
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
- uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73
- uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b
with:
distribution: 'zulu'
java-version: '17'
Expand All @@ -358,12 +360,12 @@ jobs:
run:
working-directory: ./pkgs/jni/example
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
- uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b
with:
distribution: 'zulu'
java-version: '17'
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
- uses: subosito/flutter-action@74af56c5ed2697ba4621264652728e8d217e53d3
with:
channel: 'stable'
cache: true
Expand All @@ -377,13 +379,13 @@ jobs:
run:
working-directory: ./pkgs/jnigen/example/pdfbox_plugin
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: subosito/flutter-action@74af56c5ed2697ba4621264652728e8d217e53d3
with:
channel: 'stable'
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
- uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73
- uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b
with:
distribution: 'zulu'
java-version: '17'
Expand Down Expand Up @@ -416,7 +418,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Coveralls finished
uses: coverallsapp/github-action@643bc377ffa44ace6394b2b5d0d3950076de9f63
uses: coverallsapp/github-action@cfd0633edbd2411b532b808ba7a8b5e04f76d2c8
with:
carryforward: "ffigen,jni,jnigen,native_assets_builder_macos,native_assets_builder_ubuntu,native_assets_builder_windows,native_assets_cli_macos,native_assets_cli_ubuntu,native_assets_cli_windows,native_toolchain_c_macos,native_toolchain_c_ubuntu,native_toolchain_c_windows,objective_c,swift2objc"
github-token: ${{ secrets.github_token }}
Expand Down
Loading

0 comments on commit 74fc967

Please sign in to comment.