Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/initdc/c-project-workflow
C just need build once time!
https://github.com/initdc/c-project-workflow
actions build c docker release workflow zig
Last synced: 25 days ago
JSON representation
C just need build once time!
- Host: GitHub
- URL: https://github.com/initdc/c-project-workflow
- Owner: initdc
- License: mpl-2.0
- Created: 2022-11-08T04:59:02.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2022-12-06T16:31:08.000Z (almost 2 years ago)
- Last Synced: 2024-07-30T21:09:04.896Z (4 months ago)
- Topics: actions, build, c, docker, release, workflow, zig
- Language: Ruby
- Homepage: https://hub.docker.com/r/initdc/c-demo
- Size: 41 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [C Project Workflow](https://github.com/initdc/c-project-workflow)
> Project written by c, you just need build once time.
## Build on Linux Host
1. deps
- zig
- ruby
- tree
- sha256sum
- docker2. build
> edit config and build CMD as you need
```
# build binarys
ruby build.rb
ruby build.rb --run-test
ruby build.rb v0.0.1
ruby build.rb less ## build bin for LESS_OS_ARCHecho > version.rb 'VERSION = "fix-bug-001"'
ruby build.rb test --run-test
# build docker images
ruby docker-tag.rb
ruby docker-tag.rb v0.0.1
ruby docker-tag.rb dev
ruby docker-tag.rb v$(TZ=Asia/Shanghai date +%Y.%m.%d)
```## GitHub actions
- build binarys
- upload release files
- build docker images## More about docker
Check https://github.com/initdc/ssh-proxy-by-caddy-l4
## License
MPL 2.0