Skip to content
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
503 changes: 0 additions & 503 deletions .github/workflows/dart.yml

This file was deleted.

44 changes: 44 additions & 0 deletions .github/workflows/web.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: package:web
permissions: read-all

on:
# Run CI on pushes to the main branch and on PRs.
push:
branches: [ main ]
paths:
- '.github/workflows/web.yaml'
- 'web/**'
pull_request:
paths:
- '.github/workflows/web.yaml'
- 'web/**'
schedule:
- cron: "0 0 * * 0"

defaults:
run:
working-directory: web/

jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
sdk: [3.4, beta, dev]
test_config: ['-p chrome', '-p chrome -c dart2wasm']

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: dart-lang/setup-dart@e51d8e571e22473a2ddebf0ef8a2123f0ab2c02c
with:
sdk: ${{ matrix.sdk }}

- run: dart pub get
- run: dart format --output=none --set-exit-if-changed .
if: ${{ matrix.sdk == 'dev' }}
- run: dart analyze --fatal-infos
- run: dart test ${{ matrix.test_config }}

# Validate the 'dart fix' metadata.
- run: dart fix --compare-to-golden test_fixes
66 changes: 66 additions & 0 deletions .github/workflows/web_generator.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: package:web_generator
permissions: read-all

on:
# Run CI on pushes to the main branch and on PRs.
push:
branches: [ main ]
paths:
- '.github/workflows/web_generator.yaml'
- 'web_generator/**'
pull_request:
paths:
- '.github/workflows/web_generator.yaml'
- 'web_generator/**'
schedule:
- cron: "0 0 * * 0"

defaults:
run:
working-directory: web_generator/

jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
sdk: [dev]
test_config: ['', '-p chrome', '-p chrome -c dart2wasm']

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: dart-lang/setup-dart@e51d8e571e22473a2ddebf0ef8a2123f0ab2c02c
with:
sdk: ${{ matrix.sdk }}

- run: dart pub get
- run: dart format --output=none --set-exit-if-changed .
- run: dart analyze --fatal-infos
- run: dart test ${{ matrix.test_config }}

# test bin/update_idl_bindings.dart
test_generate:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: dart-lang/setup-dart@e51d8e571e22473a2ddebf0ef8a2123f0ab2c02c

- run: dart pub get
- run: dart pub -C ../web get
- run: dart bin/update_idl_bindings.dart
- run: dart analyze --fatal-infos ../web

# test bin/update_idl_bindings.dart --generate-all
test_generate_all:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: dart-lang/setup-dart@e51d8e571e22473a2ddebf0ef8a2123f0ab2c02c

- run: dart pub get
- run: dart pub -C ../web get
- run: dart bin/update_idl_bindings.dart --generate-all
- run: dart analyze --fatal-infos ../web
12 changes: 0 additions & 12 deletions mono_repo.yaml

This file was deleted.

131 changes: 0 additions & 131 deletions tool/ci.sh

This file was deleted.

14 changes: 0 additions & 14 deletions web/mono_pkg.yaml

This file was deleted.

21 changes: 0 additions & 21 deletions web_generator/mono_pkg.yaml

This file was deleted.