Skip to content

Add GitHub Actions release workflow for automated multi-architecture builds#12

Merged
JohnAmadis merged 6 commits intomasterfrom
copilot/setup-release-flow-similar-dmclk
Dec 28, 2025
Merged

Add GitHub Actions release workflow for automated multi-architecture builds#12
JohnAmadis merged 6 commits intomasterfrom
copilot/setup-release-flow-similar-dmclk

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Dec 28, 2025

  • Understand the issue and create initial plan
  • Create GitHub Actions release workflow with architecture discovery
  • Configure matrix builds for parallel compilation
  • Set up package contents (binaries, headers, docs, resources)
  • Implement version management and manifest generation
  • Add manifest.dmm, dmfsi.dmr, ramfs.dmr, and docs/dmfsi.md
  • Fix CI build by disabling DMOD tests to avoid linking errors
Original prompt

This section details on the original issue you should resolve

<issue_title>Przygotować release flow podobnie jak w dmclk</issue_title>
<issue_description>Potrzebny jest release flow, który przygotuje paczkę release'ową tak jak jest to zrobione w:

https://github.com/choco-technologies/dmclk
https://github.com/choco-technologies/dmell
czy np w
https://github.com/choco-technologies/dmini</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI self-assigned this Dec 28, 2025
Copilot AI and others added 3 commits December 28, 2025 15:46
Co-authored-by: JohnAmadis <17320783+JohnAmadis@users.noreply.github.com>
Co-authored-by: JohnAmadis <17320783+JohnAmadis@users.noreply.github.com>
Co-authored-by: JohnAmadis <17320783+JohnAmadis@users.noreply.github.com>
@JohnAmadis
Copy link
Copy Markdown
Contributor

@copilot przede wszystkim brakuje pliku manifest.dmm oraz dmfsi.dmr - sprawdz jak to jest robione w innych modułach. Ponadto dokumentacja będzie używana przez dmf-man i też musi być dostępna specjalna jej wersja, tak jak w innych modułach

Copilot AI changed the title [WIP] Prepare release flow similar to dmclk Add GitHub Actions release workflow for automated multi-architecture builds Dec 28, 2025
Copilot AI requested a review from JohnAmadis December 28, 2025 15:54
Co-authored-by: JohnAmadis <17320783+JohnAmadis@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Dec 28, 2025

@copilot przede wszystkim brakuje pliku manifest.dmm oraz dmfsi.dmr - sprawdz jak to jest robione w innych modułach. Ponadto dokumentacja będzie używana przez dmf-man i też musi być dostęp...

Added in commit f5e8330:

  1. manifest.dmm - Module manifest with download URLs that includes versions.dmm via $include
  2. dmfsi.dmr - Resource file specifying where dmfsi module files should be installed
  3. ramfs.dmr - Resource file for the ramfs example module
  4. docs/dmfsi.md - Comprehensive API documentation in man page format for dmf-man tool
  5. Updated release workflow to package and upload all these files

The release packages now include all files as in dmclk/dmell/dmini: .dmf, .dmfc, .dmd, .dmr files, docs/ directory, headers, and documentation.

@JohnAmadis JohnAmadis marked this pull request as ready for review December 28, 2025 16:07
@JohnAmadis
Copy link
Copy Markdown
Contributor

@copilot bardzo możliwe, że to nie jest związane z Twoimi zmianami, ale CI failuje - proszę napraw to mimo wszystko:

[ 42%] Linking CXX executable tests_dmod_hlp
/usr/bin/ld: cannot find -ldmod_version: No such file or directory
/usr/bin/ld: cannot find -ldmod_manifest: No such file or directory
/usr/bin/ld: cannot find -ldmod_dependencies: No such file or directory
[ 43%] Linking CXX executable tests_dmod_mgr
collect2: error: ld returned 1 exit status
make[2]: *** [tests/CMakeFiles/tests_dmod_hlp.dir/build.make:124: tests/tests_dmod_hlp] Error 1
make[1]: *** [CMakeFiles/Makefile2:851: tests/CMakeFiles/tests_dmod_hlp.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 44%] Building CXX object tests/CMakeFiles/tests_dmod_ctx.dir/ut_main.cpp.o
/usr/bin/ld: cannot find -ldmod_version: No such file or directory
/usr/bin/ld: cannot find -ldmod_manifest: No such file or directory
/usr/bin/ld: cannot find -ldmod_dependencies: No such file or directory
collect2: error: ld returned 1 exit status
make[2]: *** [tests/CMakeFiles/tests_dmod_mgr.dir/build.make:124: tests/tests_dmod_mgr] Error 1
make[1]: *** [CMakeFiles/Makefile2:925: tests/CMakeFiles/tests_dmod_mgr.dir/all] Error 2
[ 45%] Linking CXX executable tests_dmod_ldr
/usr/bin/ld: cannot find -ldmod_version: No such file or directory
/usr/bin/ld: cannot find -ldmod_manifest: No such file or directory
/usr/bin/ld: cannot find -ldmod_dependencies: No such file or directory
collect2: error: ld returned 1 exit status
make[2]: *** [tests/CMakeFiles/tests_dmod_ldr.dir/build.make:124: tests/tests_dmod_ldr] Error 1
make[1]: *** [CMakeFiles/Makefile2:888: tests/CMakeFiles/tests_dmod_ldr.dir/all] Error 2
[ 46%] Linking CXX executable tests_dmod_ctx
/usr/bin/ld: cannot find -ldmod_version: No such file or directory
/usr/bin/ld: cannot find -ldmod_manifest: No such file or directory
/usr/bin/ld: cannot find -ldmod_dependencies: No such file or directory
collect2: error: ld returned 1 exit status
make[2]: *** [tests/CMakeFiles/tests_dmod_ctx.dir/build.make:124: tests/tests_dmod_ctx] Error 1
make[1]: *** [CMakeFiles/Makefile2:814: tests/CMakeFiles/tests_dmod_ctx.dir/all] Error 2
make: *** [Makefile:[136](https://github.com/choco-technologies/dmfsi/actions/runs/20556187330/job/59040857440?pr=12#step:9:137): all] Error 2

Co-authored-by: JohnAmadis <17320783+JohnAmadis@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Dec 28, 2025

@copilot bardzo możliwe, że to nie jest związane z Twoimi zmianami, ale CI failuje - proszę napraw to mimo wszystko:

...

Fixed in commit f703a3f. The issue was that DMOD's develop branch is missing libraries (dmod_version, dmod_manifest, dmod_dependencies) required to build tests. Added -DDMOD_BUILD_TESTS=OFF flag to the CMake configuration to skip building DMOD tests, which aren't needed for dmfsi builds.

@JohnAmadis JohnAmadis merged commit 69609d0 into master Dec 28, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Przygotować release flow podobnie jak w dmclk

2 participants