Add .dmr resource file with headers and documentation to release package #22
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [ main, develop ] | |
| pull_request: | |
| branches: [ main, develop, feature/**, copilot/** ] | |
| jobs: | |
| build-and-test: | |
| name: Build and Test | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| container: | |
| image: chocotechnologies/dmod:1.0.4 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Build dmini project | |
| run: | | |
| mkdir -p build | |
| cd build | |
| cmake .. -DDMOD_MODE=DMOD_MODULE | |
| cmake --build . | |
| - name: Verify module files | |
| run: | | |
| echo "Checking for module files..." | |
| ls -lh build/dmf/ | |
| test -f build/dmf/dmini.dmf | |
| test -f build/dmf/dmini_version.txt | |
| test -f build/dmf/test_dmini.dmf | |
| echo "Module files present" | |
| - name: Run tests with dmod_loader | |
| run: | | |
| export DMOD_DMF_DIR=$(pwd)/build/dmf | |
| dmod_loader build/dmf/test_dmini.dmf |