3737 ndk-version : 28.0.13004108
3838
3939 - name : Get Docker Image using Action
40- uses :
microsoft/onnxruntime-github-actions/[email protected] .7 40+ uses :
microsoft/onnxruntime-github-actions/[email protected] .9 4141 id : build_docker_image_step
4242 with :
4343 dockerfile : ${{ github.workspace }}/tools/ci_build/github/linux/docker/inference/x86_64/default/cpu/Dockerfile
@@ -66,20 +66,13 @@ jobs:
6666 set_var("BuildConfigOs", config["os"])
6767 shell : python
6868 working-directory : ${{ github.workspace }}
69-
70- - name : Export GitHub Actions cache environment variables
71- uses : actions/github-script@v7
72- with :
73- script : |
74- core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
75- core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
76-
69+
7770 - name : 1a. Build onnxruntime
7871 run : |
7972 set -e -x
8073 BINARY_SIZE_THRESHOLD_ARGS=""
81- echo "Binary size threshold in bytes: 1306224 "
82- BINARY_SIZE_THRESHOLD_ARGS="--threshold_size_in_bytes 1306224 "
74+ echo "Binary size threshold in bytes: 1722565 "
75+ BINARY_SIZE_THRESHOLD_ARGS="--threshold_size_in_bytes 1722565 "
8376
8477 # Ensure ANDROID_NDK_HOME is available and get its real path
8578 if [ -z "$ANDROID_NDK_HOME" ]; then
@@ -107,8 +100,6 @@ jobs:
107100 -e BUILD_ID=${{ github.run_id }} \
108101 -e BUILD_REASON=${{ github.event_name }} \
109102 -e BUILD_BRANCH=${{ github.ref }} \
110- -e ACTIONS_CACHE_URL \
111- -e ACTIONS_RUNTIME_TOKEN \
112103 -e RUNNER_TEMP=/build \
113104 ${{ steps.build_docker_image_step.outputs.full-image-name }} \
114105 bash -c "python3 -m pip install -r /onnxruntime_src/tools/ci_build/requirements/pybind/requirements.txt && \
@@ -131,7 +122,7 @@ jobs:
131122 architecture : x64
132123
133124
134- -
uses :
microsoft/onnxruntime-github-actions/[email protected] .7 125+ -
uses :
microsoft/onnxruntime-github-actions/[email protected] .9 135126 with :
136127 vcpkg-version : ' 2025.06.13'
137128 vcpkg-hash : ' 735923258c5187966698f98ce0f1393b8adc6f84d44fd8829dda7db52828639331764ecf41f50c8e881e497b569f463dbd02dcb027ee9d9ede0711102de256cc'
@@ -145,13 +136,6 @@ jobs:
145136 with :
146137 ndk-version : 28.0.13004108
147138
148- - name : Export GitHub Actions cache environment variables
149- uses : actions/github-script@v7
150- with :
151- script : |
152- core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
153- core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
154-
155139 - name : NNAPI EP, Build, Test on Android Emulator
156140 run : >-
157141 python3 tools/ci_build/build.py
@@ -217,13 +201,6 @@ jobs:
217201 with :
218202 ndk-version : 28.0.13004108
219203
220- - name : Export GitHub Actions cache environment variables
221- uses : actions/github-script@v7
222- with :
223- script : |
224- core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
225- core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
226-
227204 - name : CPU EP, Build and Test
228205 run : >-
229206 python3 tools/ci_build/build.py
0 commit comments