Skip to content

Commit 0a53f03

Browse files
committed
Initial commit
0 parents  commit 0a53f03

File tree

14 files changed

+581
-0
lines changed

14 files changed

+581
-0
lines changed

.clang-format

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
BasedOnStyle: Microsoft
3+
---
4+
Language: Cpp
5+
6+
AccessModifierOffset: -4
7+
AlwaysBreakTemplateDeclarations: Yes
8+
BreakConstructorInitializers: BeforeComma
9+
BreakInheritanceList: BeforeComma
10+
KeepEmptyLinesAtTheStartOfBlocks: false
11+
NamespaceIndentation: Inner
12+
PointerAlignment: Left
13+
SpaceAfterTemplateKeyword: false
14+
15+
BreakBeforeBraces: Custom
16+
BraceWrapping:
17+
AfterCaseLabel: true
18+
AfterClass: true
19+
AfterControlStatement: Always
20+
AfterEnum: true
21+
AfterFunction: true
22+
AfterNamespace: true
23+
AfterStruct: true
24+
AfterUnion: true
25+
AfterExternBlock: true
26+
BeforeCatch: true
27+
BeforeElse: true
28+
IndentBraces: false
29+
SplitEmptyFunction: true
30+
SplitEmptyRecord: true
31+
SplitEmptyNamespace: true

.editorconfig

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_style = space
6+
7+
insert_final_newline = true
8+
trim_trailing_whitespace = true
9+
10+
[*.{c,h,cpp,hpp}]
11+
indent_size = 4
12+
13+
[*.yml]
14+
indent_size = 2

.gitattributes

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Auto detect text files
2+
* text=auto

.github/workflows/build.yml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Build Workflow
2+
on: push
3+
4+
jobs:
5+
build:
6+
name: Build (${{ matrix.config }})
7+
runs-on: windows-latest
8+
9+
strategy:
10+
matrix:
11+
config: [ Debug, Release ]
12+
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v2
16+
with:
17+
submodules: recursive
18+
19+
- name: Add MSBuild to PATH
20+
uses: microsoft/[email protected]
21+
22+
- name: Generate project
23+
run: |
24+
cd premake
25+
./generate_project.bat
26+
27+
- name: Build
28+
run: |
29+
cd premake/project
30+
MSBuild.exe RED4ext.SDK.sln -v:minimal -m -property:Configuration=${{ matrix.config }}
31+
32+
- name: Upload artifacts
33+
uses: actions/upload-artifact@v2
34+
with:
35+
name: RED4ext-${{ matrix.config }}
36+
path: build/${{ matrix.config }}/

0 commit comments

Comments
 (0)