GitHub Actions Runner
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
# Contribute (Dev)
|
||||
|
||||
## Dev Dependencies
|
||||
|
||||
 Git for Windows [Install Here](https://git-scm.com/downloads) (needed for dev sh script)
|
||||
|
||||
## Build, Test, Layout
|
||||
|
||||
From src:
|
||||
|
||||
 `dev {command}`
|
||||
|
||||
 `./dev.sh {command}`
|
||||
|
||||
**Commands:**
|
||||
|
||||
`layout` (`l`): Run first time to create a full agent layout in {root}/_layout
|
||||
|
||||
`build` (`b`): build everything and update agent layout folder
|
||||
|
||||
`test` (`t`): build agent binaries and run unit tests
|
||||
|
||||
Normal dev flow:
|
||||
```bash
|
||||
git clone https://github.com/actions/runner
|
||||
cd ./src
|
||||
./dev.(sh/cmd) layout # the agent that build from source is in {root}/_layout
|
||||
<make code changes>
|
||||
./dev.(sh/cmd) build # {root}/_layout will get updated
|
||||
./dev.(sh/cmd) test # run all unit tests before git commit/push
|
||||
```
|
||||
|
||||
## Editors
|
||||
|
||||
[Using Visual Studio 2019](https://www.visualstudio.com/vs/)
|
||||
[Using Visual Studio Code](https://code.visualstudio.com/)
|
||||
|
||||
## Styling
|
||||
|
||||
We use the dotnet foundation and CoreCLR style guidelines [located here](
|
||||
https://github.com/dotnet/corefx/blob/master/Documentation/coding-guidelines/coding-style.md)
|
||||
Reference in New Issue
Block a user