mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-18 21:21:17 +00:00
### Description 1. Replacing jobs with stages for better debugging and maintainance 2. Added compilation cache to accelerate the workflow. 3. Splited building protobuf and major code as 2 tasks ### Motivation and Context Reduced compilation time about one hour. test run: https://dev.azure.com/onnxruntime/onnxruntime/_build/results?buildId=943695&view=logs&j=de302ec2-2305-57e0-e8c6-cd89c569f2a3&t=8b360243-7783-51da-8079-2304089d3d1d
15 lines
331 B
YAML
15 lines
331 B
YAML
# it's used to check the cache stats after building with ccache
|
|
parameters:
|
|
- name: CacheDir
|
|
displayName: Cache Directory
|
|
type: string
|
|
|
|
steps:
|
|
- script: |
|
|
ccache -sv
|
|
ccache -z
|
|
ls -l $CCACHE_DIR
|
|
du -sh $CCACHE_DIR
|
|
displayName: Show Cache stats
|
|
env:
|
|
CCACHE_DIR: ${{ parameters.CacheDir }}
|