Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wangyoucao577/hello-sdk-sample
Hello SDK sample code to try out Conan and GitVersion.
https://github.com/wangyoucao577/hello-sdk-sample
conan gitversion
Last synced: 10 days ago
JSON representation
Hello SDK sample code to try out Conan and GitVersion.
- Host: GitHub
- URL: https://github.com/wangyoucao577/hello-sdk-sample
- Owner: wangyoucao577
- License: mit
- Created: 2021-06-28T08:21:22.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-07-01T14:17:16.000Z (over 3 years ago)
- Last Synced: 2024-10-26T18:14:56.138Z (about 2 months ago)
- Topics: conan, gitversion
- Language: Python
- Homepage:
- Size: 43 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hello-sdk-sample
Hello SDK sample code to try out [Conan, the C/C++ Package Manager](https://conan.io/) and [GitVersion](https://gitversion.net/).It uses [wangyoucao577.jfrog.io](https://wangyoucao577.jfrog.io/) as [Conan](https://conan.io/) storage which has been recommended in [Uploading to Artifactory Cloud Instance](https://docs.conan.io/en/latest/uploading_packages/artifactory/artifactory_cloud.html).
Refer to [wangyoucao577/hello-app-sample](https://github.com/wangyoucao577/hello-app-sample) for the executable app that invokes this Hello SDK.
## Local Development
### Prerequisites
- latest [conan](https://docs.conan.io/en/latest/installation.html)
- latest [cmake](https://cmake.org/)
- latest `C/C++` compiler on your platform:
- `g++` on `linux`
- `clang` on `macosx`
- `visual studio` on `windows`### Build
```bash
$ conan create .
```## Automation
- Once your code is ready, run `git push` that will result to [automatically build and publish](https://github.com/wangyoucao577/hello-sdk-sample/actions) processes.
- The generated binaries's version is calculated by [GitVersion](https://gitversion.net/) according [GitVersion.yml](GitVersion.yml) rules.
- Binaries(`include`/`lib`) will be published to [wangyoucao577.jfrog.io](https://wangyoucao577.jfrog.io/) after building.
- In addition, [Draft a new release](https://github.com/wangyoucao577/hello-sdk-sample/releases/new) will result to code build and stable binaries publishing too.## View pre-built conan packages
```bash
$ conan remote add my-conan-repo https://wangyoucao577.jfrog.io/artifactory/api/conan/test-conan-local
$ conan search '*' -r my-conan-repo
```