24
24
with :
25
25
submodules : false
26
26
27
- - name : Get Docker Image
28
- id : build_docker_image_step
29
- uses :
microsoft/onnxruntime-github-actions/[email protected]
30
- with :
31
- dockerfile : ${{ github.workspace }}/tools/ci_build/github/linux/docker/inference/x86_64/default/cpu/Dockerfile
32
- image-name : ghcr.io/microsoft/onnxruntime/onnxruntimecpubuildcentos8x64_packaging
33
- push : true
34
- azure-container-registry-name : onnxruntimebuildcache
35
- env :
36
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
37
-
38
27
- name : Set version number variables
39
28
id : set_versions
40
29
run : |
@@ -47,10 +36,18 @@ jobs:
47
36
with :
48
37
ndk-version : 28.0.13004108
49
38
39
+ -
uses :
microsoft/onnxruntime-github-actions/[email protected]
40
+ with :
41
+ vcpkg-version : ' 2025.06.13'
42
+ vcpkg-hash : ' 735923258c5187966698f98ce0f1393b8adc6f84d44fd8829dda7db52828639331764ecf41f50c8e881e497b569f463dbd02dcb027ee9d9ede0711102de256cc'
43
+ cmake-version : ' 3.31.6'
44
+ cmake-hash : ' 42395e20b10a8e9ef3e33014f9a4eed08d46ab952e02d2c1bbc8f6133eca0d7719fb75680f9bbff6552f20fcd1b73d86860f7f39388d631f98fb6f622b37cf04'
45
+ add-cmake-to-path : ' true'
46
+ disable-terrapin : ' true'
47
+
50
48
- name : Build Android AAR Packages
51
49
run : |
52
50
set -e -x
53
- ORT_VERSION=$(cat VERSION_NUMBER)
54
51
mkdir -p ${{ runner.temp }}/.build_settings
55
52
mkdir -p ${{ runner.temp }}/artifacts
56
53
cp tools/ci_build/github/js/react_native_e2e_full_aar_build_settings.json ${{ runner.temp }}/.build_settings/build_settings.json
60
57
python3 ${{ github.workspace }}/tools/ci_build/github/android/build_aar_package.py --build_dir ${{ runner.temp }} --config Release --android_sdk_path $ANDROID_SDK_ROOT --android_ndk_path $ANDROID_NDK_ROOT ${{ runner.temp }}/.build_settings/build_settings.json
61
58
62
59
# Copy the built artifacts to give folder for publishing
63
- BASE_PATH=${{ runner.temp }}/aar_out/Release/com/microsoft/onnxruntime/onnxruntime-android/${ORT_VERSION }
60
+ BASE_PATH=${{ runner.temp }}/aar_out/Release/com/microsoft/onnxruntime/onnxruntime-android/${OnnxRuntimeVersion }
64
61
cp ${BASE_PATH}/*.jar ${{ runner.temp }}/artifacts
65
62
cp ${BASE_PATH}/*.aar ${{ runner.temp }}/artifacts
66
63
cp ${BASE_PATH}/*.pom ${{ runner.temp }}/artifacts
0 commit comments