Skip to content

ci fixes#68

Merged
matt2005 merged 3 commits intomainfrom
develop
Nov 14, 2025
Merged

ci fixes#68
matt2005 merged 3 commits intomainfrom
develop

Conversation

@matt2005
Copy link
Copy Markdown

No description provided.

- Implement git branch-based build type detection in build.sh
  - main/master branches default to release builds
  - All other branches default to debug builds
  - Manual override still supported via first argument

- Add debug package naming differentiation in CMakeLists.txt
  - Debug builds create packages with -dbg suffix
  - libaasdk-dbg and libaasdk-dbg-dev for debug builds
  - Standard naming (libaasdk, libaasdk-dev) for release builds

- Update Dockerfile to accept BUILD_TYPE build argument
  - Enables CI/CD workflows to control build type explicitly
  - Default remains 'release' for backward compatibility

- Update BUILD.md documentation
  - Document automatic branch detection behavior
  - Add examples of manual override usage
  - Explain debug package naming convention

Benefits:
- Intuitive developer experience (no need to specify build type)
- Clear package differentiation in repositories
- Enables hosting both debug and release packages
- Consistent behavior with OpenAuto project
- Detect build type based on branch (main=release, others=debug)
- Pass BUILD_TYPE argument to Docker build
- Enables automatic debug package builds on develop branch
- Aligns with branch-based build detection in build.sh
- Only limit to amd64 on develop for automatic pushes
- Manual workflow_dispatch now respects architecture dropdown
- Allows building arm64/armhf when explicitly selected
- Maintains fast feedback for automatic develop branch pushes
@matt2005 matt2005 merged commit 6f3ddfc into main Nov 14, 2025
16 checks passed
@matt2005 matt2005 deleted the develop branch November 14, 2025 22:20
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.

1 participant