Skip to content

Commit 63c8f37

Browse files
committed
ci: add CI workflow, rule files, and community health files
- Add agent-ruleset.json and generate AGENTS.md (unreal domain rules) - Add .github/workflows/ci.yml: self-hosted runner, builds and tests via RuntimeAssetImportSample host project with NTFS junction linking - Add .clang-format (UE5 coding standard, based on XroidVerse) - Add SECURITY.md, CONTRIBUTING.md - Add .github/FUNDING.yml for GitHub Sponsors
1 parent c8578cb commit 63c8f37

8 files changed

Lines changed: 565 additions & 0 deletions

File tree

.clang-format

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
BasedOnStyle: LLVM
3+
UseTab: Never
4+
BreakBeforeBraces: Allman
5+
ColumnLimit: 120
6+
IndentWidth: 4
7+
SortIncludes: "false"
8+
AccessModifierOffset: -4
9+
NamespaceIndentation: All

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: metyatech

.github/workflows/ci.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
verify:
9+
runs-on: [self-hosted, windows]
10+
timeout-minutes: 60
11+
12+
steps:
13+
- name: Checkout plugin
14+
uses: actions/checkout@v4
15+
with:
16+
path: RuntimeAssetImportPlugin
17+
fetch-depth: 0
18+
submodules: recursive
19+
20+
- name: Checkout test host project
21+
uses: actions/checkout@v4
22+
with:
23+
repository: metyatech/RuntimeAssetImportSample
24+
path: RuntimeAssetImportSample
25+
fetch-depth: 0
26+
submodules: recursive
27+
28+
- name: Link plugin into test project
29+
shell: powershell
30+
run: |
31+
$pluginPath = Join-Path $env:GITHUB_WORKSPACE "RuntimeAssetImportPlugin"
32+
$linkPath = Join-Path $env:GITHUB_WORKSPACE "RuntimeAssetImportSample\Plugins\RuntimeAssetImport"
33+
if (Test-Path $linkPath) {
34+
Remove-Item -Recurse -Force $linkPath
35+
}
36+
New-Item -ItemType Junction -Path $linkPath -Target $pluginPath
37+
Write-Host "Linked: $linkPath -> $pluginPath"
38+
39+
- name: Verify (build + test)
40+
shell: powershell
41+
working-directory: RuntimeAssetImportSample
42+
run: powershell -NoProfile -ExecutionPolicy Bypass -File .\Verify.ps1 -TestFilter "RuntimeAssetImport"

AGENTS.md

Lines changed: 466 additions & 0 deletions
Large diffs are not rendered by default.

CLAUDE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@AGENTS.md

CONTRIBUTING.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Contributing to RuntimeAssetImportPlugin
2+
3+
Thank you for your interest in contributing!
4+
5+
## How to contribute
6+
7+
1. Fork the repository
8+
2. Create a feature branch from `master`
9+
3. Make your changes following the [UE Coding Standard](https://dev.epicgames.com/documentation/en-us/unreal-engine/epic-cplusplus-coding-standard-for-unreal-engine)
10+
4. Run `Verify.ps1` locally (requires UE5.4 and the RuntimeAssetImportSample project)
11+
5. Open a pull request
12+
13+
## Code style
14+
15+
This project follows the Epic C++ Coding Standard. A `.clang-format` file is provided for automatic formatting.
16+
17+
## Running tests
18+
19+
See [README.md](README.md) for test instructions.
20+
21+
## Issues
22+
23+
Please use [GitHub Issues](https://github.com/metyatech/RuntimeAssetImportPlugin/issues) for bug reports and feature requests.

SECURITY.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Security Policy
2+
3+
## Supported Versions
4+
5+
| Version | Supported |
6+
| ------- | --------- |
7+
| 1.0.x ||
8+
9+
## Reporting a Vulnerability
10+
11+
To report a security vulnerability, please open an issue at:
12+
https://github.com/metyatech/RuntimeAssetImportPlugin/issues
13+
14+
Or contact the maintainer directly via GitHub.
15+
16+
We aim to respond within 7 days.

agent-ruleset.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"source": "github:metyatech/agent-rules",
3+
"domains": [
4+
"unreal"
5+
],
6+
"output": "AGENTS.md"
7+
}

0 commit comments

Comments
 (0)