@@ -137,13 +137,7 @@ jobs:
137137 cpack-generator : ${{ matrix.cpack-generator }}
138138 generate-csharp-bindings : false
139139 generate-python-bindings : false
140-
141- - name : Upload SDK Installer
142- uses : actions/upload-artifact@v4
143- with :
144- name : Package (${{ matrix.name }})
145- path : ${{ steps.build-sdk.outputs.package-path }}
146- retention-days : 7
140+ upload-artifact : true
147141
148142 - name : Package Python Bindings
149143 if : matrix.generate-python-bindings == true
@@ -226,6 +220,7 @@ jobs:
226220
227221 outputs :
228222 linux_x64_artifact_name : ${{ env.linux_x64_artifact }}
223+ simulator_package_name : ${{ steps.set-simulator-output.outputs.name }}
229224
230225 env :
231226 CC : gcc
@@ -252,6 +247,14 @@ jobs:
252247 cmake-config-args : ${{ matrix.cmake-defines }}
253248 cmake-build-type : ${{ matrix.cmake-build-type }}
254249
250+ - name : Debug architecture info
251+ run : |
252+ echo "=== System Architecture Debug ==="
253+ echo "uname -m: $(uname -m)"
254+ echo "uname -a: $(uname -a)"
255+ echo "arch: $(arch)"
256+ echo "================================="
257+
255258 - name : Build SDK
256259 id : build-sdk
257260 uses : ./.github/actions/build-sdk
@@ -264,30 +267,19 @@ jobs:
264267 cpack-generator : DEB
265268 generate-csharp-bindings : false
266269 generate-python-bindings : false
270+ upload-artifact : true
267271
268- - name : Upload Package
269- uses : actions/upload-artifact@v4
270- with :
271- name : Package (${{ matrix.name }})
272- path : ${{ steps.build-sdk.outputs.package-path }}
273- retention-days : 7
272+ - name : Set simulator package output
273+ id : set-simulator-output
274+ if : matrix.generate-simulator-app == true
275+ run : echo "name=${{ steps.build-sdk.outputs.package-name }}" >> $GITHUB_OUTPUT
274276
275277 - name : Build Documentation
276278 if : matrix.generate-doxygen-doc == true
277- shell : bash
278- run : |
279- cmake -B ${{ steps.build-sdk.outputs.build-path }} -G "${{ matrix.cmake-generator }}" -DOPENDAQ_BUILD_DOCUMENTATION=ON
280- cmake --build ${{ steps.build-sdk.outputs.build-path }} --target doc_doxygen
281- cd ${{ steps.build-sdk.outputs.build-path }}/doc_doxygen/html
282- zip -r ../opendaq_cpp_api_reference.zip .
283-
284- - name : Upload API Reference
285- if : matrix.generate-doxygen-doc == true
286- uses : actions/upload-artifact@v4
279+ uses : ./.github/actions/build-doc
287280 with :
288- name : API Reference
289- path : ${{ steps.build-sdk.outputs.build-path }}/doc_doxygen/opendaq_cpp_api_reference.zip
290- retention-days : 7
281+ build-path : ${{ steps.build-sdk.outputs.build-path }}
282+ artifact-name : API Reference
291283
292284 - name : Build Simulator App
293285 if : matrix.generate-simulator-app == true
@@ -545,7 +537,7 @@ jobs:
545537 - name : Download package
546538 uses : actions/download-artifact@v4
547539 with :
548- name : Package (Linux x86_64 GCC Release)
540+ name : ${{ needs.package_linux.outputs.simulator_package_name }}
549541 path : ${{ env.simulator_directory }}
550542
551543 - name : Download simulator app
@@ -602,7 +594,9 @@ jobs:
602594 - name : Delete unused artifacts
603595 uses : geekyeggo/delete-artifact@v5
604596 with :
605- name : ${{ env.simulator_app_artifact }}
597+ name : |
598+ ${{ env.simulator_app_artifact }}
599+ ${{ needs.package_linux.outputs.simulator_package_name }}
606600
607601 dotnet_bindings :
608602 runs-on : windows-latest
0 commit comments