37
37
ndk-version : 28.0.13004108
38
38
39
39
- name : Get Docker Image using Action
40
- uses :
microsoft/onnxruntime-github-actions/[email protected] .7
40
+ uses :
microsoft/onnxruntime-github-actions/[email protected] .8
41
41
id : build_docker_image_step
42
42
with :
43
43
dockerfile : ${{ github.workspace }}/tools/ci_build/github/linux/docker/inference/x86_64/default/cpu/Dockerfile
@@ -66,20 +66,13 @@ jobs:
66
66
set_var("BuildConfigOs", config["os"])
67
67
shell : python
68
68
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
+
77
70
- name : 1a. Build onnxruntime
78
71
run : |
79
72
set -e -x
80
73
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: 1436672 "
75
+ BINARY_SIZE_THRESHOLD_ARGS="--threshold_size_in_bytes 1436672 "
83
76
84
77
# Ensure ANDROID_NDK_HOME is available and get its real path
85
78
if [ -z "$ANDROID_NDK_HOME" ]; then
@@ -107,8 +100,6 @@ jobs:
107
100
-e BUILD_ID=${{ github.run_id }} \
108
101
-e BUILD_REASON=${{ github.event_name }} \
109
102
-e BUILD_BRANCH=${{ github.ref }} \
110
- -e ACTIONS_CACHE_URL \
111
- -e ACTIONS_RUNTIME_TOKEN \
112
103
-e RUNNER_TEMP=/build \
113
104
${{ steps.build_docker_image_step.outputs.full-image-name }} \
114
105
bash -c "python3 -m pip install -r /onnxruntime_src/tools/ci_build/requirements/pybind/requirements.txt && \
@@ -131,7 +122,7 @@ jobs:
131
122
architecture : x64
132
123
133
124
134
- -
uses :
microsoft/onnxruntime-github-actions/[email protected] .7
125
+ -
uses :
microsoft/onnxruntime-github-actions/[email protected] .8
135
126
with :
136
127
vcpkg-version : ' 2025.06.13'
137
128
vcpkg-hash : ' 735923258c5187966698f98ce0f1393b8adc6f84d44fd8829dda7db52828639331764ecf41f50c8e881e497b569f463dbd02dcb027ee9d9ede0711102de256cc'
@@ -145,13 +136,6 @@ jobs:
145
136
with :
146
137
ndk-version : 28.0.13004108
147
138
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
-
155
139
- name : NNAPI EP, Build, Test on Android Emulator
156
140
run : >-
157
141
python3 tools/ci_build/build.py
@@ -217,13 +201,6 @@ jobs:
217
201
with :
218
202
ndk-version : 28.0.13004108
219
203
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
-
227
204
- name : CPU EP, Build and Test
228
205
run : >-
229
206
python3 tools/ci_build/build.py
0 commit comments