File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
bindings/java/src/main/native Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -103,22 +103,30 @@ set-version:
103103repack-jar : $(jarfile )
104104 $(RM ) -r $(java_build_dir ) /repack_dir
105105 unzip -o $(jarfile ) -d $(java_build_dir ) /repack_dir
106- \c p $(topdir ) /libjucx_* .so/libjucx_* .so $(java_build_dir ) /repack_dir
106+ \c p -v $(topdir ) /libjucx_* .so/libjucx_* .so $(topdir ) /bindings/java/resources
107+ \c p -v $(topdir ) /libjucx_* .so/libjucx_* .so $(java_build_dir ) /repack_dir
107108 jar -cf $(jarfile ) -C $(java_build_dir ) /repack_dir .
108109 jar tf $(jarfile )
109110
110111multi-arch :
111112 @make set-version JUCX_VERSION=${JUCX_VERSION}
112113 @make repack-jar
113114
115+ check-jar :
116+ @test $(shell jar tf $(jarfile ) | grep -q libjucx_amd64.so)
117+ @test $(shell jar tf $(jarfile ) | grep -q libjucx_aarch64.so)
118+
114119# Publish JUCX jar to maven central
115120publish-snapshot :
116121 @make set-version JUCX_VERSION=@VERSION@-SNAPSHOT
122+ @make repack-jar
123+ @make check-jar
117124 @make publish
118125
119126publish-release :
120127 @make set-version JUCX_VERSION=${JUCX_VERSION}
121128 @make repack-jar
129+ @make check-jar
122130 @make publish
123131
124132publish :
Original file line number Diff line number Diff line change 4040 displayName: Build ucx
4141
4242 - bash : |
43+ set -exE
4344 source buildlib/az-helpers.sh
4445 az_init_modules
4546 az_module_load dev/mvn
7778 name : publicKey
7879
7980 - bash : |
81+ set -exE
8082 source buildlib/az-helpers.sh
8183 az_init_modules
8284 az_module_load dev/mvn
You can’t perform that action at this time.
0 commit comments