Skip to content

Commit

Permalink
Check non-public API usage (flutter#140)
Browse files Browse the repository at this point in the history
Check if any undocumented API is used by the engine or the embedder
binary (wearable only).
  • Loading branch information
swift-kim committed Dec 9, 2021
1 parent 7c9f791 commit 3c4cc8b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
pool:
name: Default
demands: agent.os -equals Linux
timeoutInMinutes: 60
timeoutInMinutes: 80
cancelTimeoutInMinutes: 1
steps:
- checkout: self
Expand All @@ -80,6 +80,13 @@ jobs:
displayName: Build
workingDirectory: $(Pipeline.Workspace)/src
failOnStderr: true
- bash: |
../check_symbols.py out/linux_$(mode)_$(arch)/libflutter_engine.so
../check_symbols.py out/linux_$(mode)_$(arch)/libflutter_tizen_wearable.so
displayName: Verify symbol references
workingDirectory: $(Pipeline.Workspace)/src
failOnStderr: true
condition: eq(variables['System.JobName'], 'tizen-arm-release')
- bash: |
OUTDIR=$(Build.StagingDirectory)
cp out/linux_$(mode)_$(arch)/libflutter_*.so $OUTDIR
Expand Down

0 comments on commit 3c4cc8b

Please sign in to comment.