https://github.com/aregtech/cpp-action-workflows
Here I collect some action workflows which can be useful for C/C++ developers
https://github.com/aregtech/cpp-action-workflows
action-workflow areg-sdk clang cmake-build cpp cygwin examples gcc github-workflows msbuild msvc workflows yaml
Last synced: 2 months ago
JSON representation
Here I collect some action workflows which can be useful for C/C++ developers
- Host: GitHub
- URL: https://github.com/aregtech/cpp-action-workflows
- Owner: aregtech
- License: mit
- Created: 2023-06-21T12:47:30.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-20T19:57:56.000Z (about 2 years ago)
- Last Synced: 2024-03-05T06:38:53.954Z (about 2 years ago)
- Topics: action-workflow, areg-sdk, clang, cmake-build, cpp, cygwin, examples, gcc, github-workflows, msbuild, msvc, workflows, yaml
- Language: CMake
- Homepage:
- Size: 430 KB
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AREG SDK Demo Project
---
## Repository Status
[](https://github.com/aregtech/cpp-action-workflows/actions/workflows/cmake.yml)
[](https://github.com/aregtech/cpp-action-workflows/actions/workflows/msbuild.yml)
[](https://github.com/aregtech/cpp-action-workflows/actions/workflows/cygwin.yml)
---
## Introduction
While was developing the [AREG SDK](https://github.com/aregtech/areg-sdk/), I spent lot of time to look for various workflow actions to automate build and test run. I've seen many examples and experiments and finally decided to share my with others. These workflows for sure are not the optimal, it is out of the agenda, but I hope it is a good practice. Let's say, this is kind of playground.
I've used [areg-sdk-demo](https://github.com/aregtech/areg-sdk-demo) template repository, it compiles with CMake, Make (_planned_), Microsoft Visual Studio and compiles with Windows Subsystem for Linux (WSL). In addition, it has [areg-sdk](https://github.com/aregtech/areg-sdk/) as a submodule and has google tests. So, it has enough complication.
---
## Clone Sources
To clone the repository, follow these steps in your desired directory (such as the `projects` directory):
* Run the following command **to clone the repository and its submodules**:
```bash
git clone --recurse-submodules https://github.com/aregtech/cpp-action-workflows.git
```
It is important to clone the AREG SDK *submodule* as well. This command ensures that both the main repository and its submodule are cloned.
* If you have already cloned the main repository but missed cloning the submodule, you can **update the submodules** separately by running the following command:
```bash
git submodule update --init --recursive
```
This command initializes and updates the submodules within the repository.
* The AREG SDK also has dependencies on [Google Unit Test](https://github.com/google/googletest), which is automatically cloned with the AREG SDK sources. **To update to the latest submodule sources**, use the following git command:
```bash
git submodule update --remote --recursive
```
This command updates the submodules, including the Google Unit Test submodule, to the latest version.
---
## Workflows
The workflows are located in the [.github/workflows](https://github.com/aregtech/cpp-action-workflows/tree/master/.github/workflows) directory. I'll periodically add and/or update them.
---
## License
The files and sources in this repository are provided under the [MIT License](https://github.com/aregtech/areg-sdk-demo/blob/main/LICENSE). They are offered without any warranty or restriction, allowing you the freedom to use them in any kind of project.
---