https://github.com/miyako/4d-tips-github-project
https://github.com/miyako/4d-tips-github-project
cicd tool4d
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/miyako/4d-tips-github-project
- Owner: miyako
- License: mit
- Created: 2024-03-02T08:43:16.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-02T08:44:10.000Z (over 2 years ago)
- Last Synced: 2025-02-26T04:16:13.723Z (over 1 year ago)
- Topics: cicd, tool4d
- Language: CSS
- Homepage:
- Size: 164 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
A CI/CD template project.
Sample result: [actions/runs/8089494518](https://github.com/miyako/4d-tips-github-project/actions/runs/8089494518/)
# Points of Interest
Alternative workflow to [miyako/4d-topic-cicd](https://github.com/miyako/4d-topic-cicd) which uses `tool4d`.
* Use 4D instead of `tool4d` as build agent (`--headless` `--datalesss` `--skip-onstartup`)
* Use the [compiler](https://github.com/miyako/4d-class-compiler) project as a component, not a standalone application
* Automatically checkout and install `compiler` as a component for the target application
* Execute `BUILD APPLICATION` via a startup method exposed by the `compiler` component
|pro|con|
|:-|:-|
|Use 4D already installed on self-hosted runner||
|No need to download `tool4d` from public repository|You need multiple copies of 4D to keep working in design while CI/CD is running in the background|
|You can build using Feature (4D Rx) Releases||
|You have the full feature set of 4D at your disposal||
|No need to use `Build4D` or `compiler`|You have no control over `BUILD APPLICATION`|
# Dependencies
* `actions/checkout@v4`
* `miyako/4D/.github/actions/build-application/@v1`
* `miyako/4D/.github/actions/install-compiler-component/@v1`
# Remarks
* Does not need `pwsh`, `bash` or [Windows Subsystem for Linux (WSL)](https://learn.microsoft.com/en-us/windows/wsl/install)