Skip to content

Commit 988ea59

Browse files
committed
Initial release
0 parents  commit 988ea59

File tree

1,150 files changed

+129364
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,150 files changed

+129364
-0
lines changed

.github/workflows/Build & Test.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Build & Test
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
9+
permissions: read-all
10+
11+
jobs:
12+
build-and-test:
13+
runs-on: windows-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v3
17+
18+
- name: Setup MSBuild
19+
uses: microsoft/[email protected]
20+
21+
- name: Setup NuGet
22+
uses: NuGet/[email protected]
23+
with:
24+
nuget-version: 'latest'
25+
26+
- name: Setup VSTest
27+
uses: darenm/Setup-VSTest@v1
28+
29+
- name: Navigate to Solution Folder
30+
run: |
31+
cd $GITHUB_WORKSPACE
32+
33+
- name: Cache NuGet Packages
34+
uses: actions/cache@v3
35+
with:
36+
path: ~/.nuget/packages
37+
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
38+
restore-keys: |
39+
${{ runner.os }}-nuget-
40+
41+
- name: Restore Packages
42+
run: |
43+
nuget restore ./src/Enjin.Platform.Sdk/Enjin.Platform.Sdk.sln
44+
45+
- name: Build Solution
46+
run: |
47+
msbuild.exe ./src/Enjin.Platform.Sdk/Enjin.Platform.Sdk.sln /p:platform="Any CPU" /p:configuration="Release"
48+
49+
- name: Run Tests
50+
run: |
51+
vstest.console.exe ./src/Enjin.Platform.Sdk/Enjin.Platform.Sdk.Tests/bin/Release/net6.0/Enjin.Platform.Sdk.Tests.dll

0 commit comments

Comments
 (0)