File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed
Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -13,14 +13,12 @@ echo "<toolchain>" > feed.xml
1313for URL in $PACKAGES_URLS ; do
1414 ZIP=package.zip
1515 wget -q $URL -O $ZIP ;
16- NAME=$( unzip -p $ZIP package.xml | xmllint --xpath " string(/package/@name)" -)
17- VERSION=$( unzip -p $ZIP package.xml | xmllint --xpath " string(/package/@version)" -)
16+ PACKAGE_XML_IN_ZIP=$( zipinfo -1 $ZIP | grep package.xml)
17+ NAME=$( unzip -p $ZIP $PACKAGE_XML_IN_ZIP | xmllint --xpath " string(/package/@name)" -)
18+ VERSION=$( unzip -p $ZIP $PACKAGE_XML_IN_ZIP | xmllint --xpath " string(/package/@version)" -)
1819 echo " <package name=\" ${NAME} \" version=\" ${VERSION} \" url=\" ${URL} \" />" >> feed.xml
1920 rm $ZIP
2021done
21-
22- echo " Adding sub-toolchain from ${FEED} "
23- echo " <feed url=\" ${FEED} \" />" >> feed.xml
2422echo " </toolchain>" >> feed.xml
2523
2624realpath feed.xml
Original file line number Diff line number Diff line change 4040 - name : Set Version
4141 run : xmlstarlet ed --inplace -i '/project/qibuild' -t attr -n version -v `git describe --tags` qiproject.xml
4242
43+ # Outputs the package as a .zip in ./package/
44+ # KLUDGE: we use --standalone to include all the dependencies in it,
45+ # otherwise qibuild does not know where to find them
46+ # when libqi is used in another project.
4347 - name : Build QiToolchain Package # Outputs the package as a .zip in ./package/
44- run : qibuild package -c qisdk --release -DQI_WITH_TESTS=OFF -DCMAKE_CXX_FLAGS=-pthread
48+ run : qibuild package --standalone -c qisdk --release -DQI_WITH_TESTS=OFF -DCMAKE_CXX_FLAGS=-pthread
49+
4550
4651 - name : Release Package
4752 uses : " marvinpinto/action-automatic-releases@latest"
You can’t perform that action at this time.
0 commit comments