Skip to content

Improve procedure macros (continued) #9628

Improve procedure macros (continued)

Improve procedure macros (continued) #9628

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request: { }
workflow_dispatch: { }
env:
CARGO_TERM_COLOR: always
FRB_MAIN_RUST_VERSION: 1.74.0
FRB_MAIN_DART_VERSION: 3.3.0
FRB_MAIN_FLUTTER_VERSION: 3.19.2
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
generate_run_frb_codegen_command_generate:
name: 'Generate :: FRB Codegen :: Command Generate'
runs-on: ${{ matrix.image }}
strategy:
fail-fast: false
matrix:
image:
- ubuntu-20.04
package:
- frb_example--dart_minimal
steps:
# setup
- uses: catchpoint/workflow-telemetry-action@v1
with:
comment_on_pr: false
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ env.FRB_MAIN_RUST_VERSION }}
components: rustfmt, clippy
- uses: subosito/flutter-action@v2
with:
cache: true
flutter-version: ${{ env.FRB_MAIN_FLUTTER_VERSION }}
architecture: x64
- uses: taiki-e/install-action@cargo-llvm-cov
# execute
- run: RUST_LOG=debug ./frb_internal generate-run-frb-codegen-command-generate --set-exit-if-changed --package ${{ matrix.package }} --coverage
- if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3