File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ pull_request :
8
+
9
+ jobs :
10
+ vs :
11
+ runs-on : windows-latest
12
+
13
+ steps :
14
+ - name : Checkout
15
+ uses : actions/checkout@v2
16
+
17
+ - name : Install .NET 6.0
18
+ uses : actions/setup-dotnet@v1
19
+ with :
20
+ dotnet-version : ' 6.0.x'
21
+
22
+ - name : Restore NuGet packages (dotnet)
23
+ run : dotnet restore src/ShaderTools.sln
24
+
25
+ - name : Restore NuGet packages (nuget)
26
+ run : nuget restore src/ShaderTools.sln
27
+
28
+ - name : Setup MSBuild
29
+
30
+
31
+ - name : Build
32
+ run : msbuild src/ShaderTools.sln /p:Configuration=Release
33
+
34
+ - name : Test
35
+ run : |
36
+ dotnet test --configuration Release src/ShaderTools.CodeAnalysis.Tests/ShaderTools.CodeAnalysis.Tests.csproj
37
+ dotnet test --configuration Release src/ShaderTools.CodeAnalysis.Hlsl.Tests/ShaderTools.CodeAnalysis.Hlsl.Tests.csproj
38
+ dotnet test --configuration Release src/ShaderTools.CodeAnalysis.Hlsl.EditorFeatures.Tests/ShaderTools.CodeAnalysis.Hlsl.EditorFeatures.Tests.csproj
39
+ dotnet test --configuration Release src/ShaderTools.CodeAnalysis.Hlsl.Features.Tests/ShaderTools.CodeAnalysis.Hlsl.Features.Tests.csproj
40
+ dotnet test --configuration Release src/ShaderTools.CodeAnalysis.ShaderLab.Tests/ShaderTools.CodeAnalysis.ShaderLab.Tests.csproj
41
+
42
+ - name : Upload artifacts
43
+ uses : actions/upload-artifact@v1
44
+ with :
45
+ name : VisualStudio
46
+ path : ' src/ShaderTools.Editor.VisualStudio/bin/Release/ShaderTools.Editor.VisualStudio.vsix'
You can’t perform that action at this time.
0 commit comments