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 17, 2021
1 parent a5358ad commit 49a9ccf
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 49a9ccf

Please sign in to comment.