https://github.com/initdc/nim-project-workflow
Nim just need build once time!
https://github.com/initdc/nim-project-workflow
actions build docker nim release workflow
Last synced: 11 months ago
JSON representation
Nim just need build once time!
- Host: GitHub
- URL: https://github.com/initdc/nim-project-workflow
- Owner: initdc
- License: mpl-2.0
- Created: 2022-11-09T04:41:49.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T14:48:29.000Z (about 3 years ago)
- Last Synced: 2025-01-20T23:48:33.656Z (about 1 year ago)
- Topics: actions, build, docker, nim, release, workflow
- Language: Ruby
- Homepage: https://hub.docker.com/r/initdc/nim-demo
- Size: 42 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [Nim Project Workflow](https://github.com/initdc/nim-project-workflow)
> Project written by nim, you just need build once time.
## Build on Linux Host
1. deps
- nim
- ruby
- tree
- sha256sum
- docker
2. 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_ARCH
echo > 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