File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : NanoServer MSVC
2
+
3
+ on : [push, workflow_dispatch]
4
+
5
+ jobs :
6
+ run-nanoserver :
7
+ runs-on : windows-latest
8
+ steps :
9
+ - name : Checkout Repository
10
+ uses : actions/checkout@v4
11
+
12
+ - name : Setup Developer Command Prompt
13
+ uses : ilammy/msvc-dev-cmd@release/v1
14
+ with :
15
+ arch : x64
16
+ sdk : 10.0.22621.0
17
+
18
+ - name : Build Dockerfile (default build-args)
19
+ shell : pwsh
20
+ run : |
21
+ docker build -t nanoserver-msvc-winsdk .
22
+
23
+ - name : Run container
24
+ shell : pwsh
25
+ run : |
26
+ $repoWorkspace = "${{ github.workspace }}" -replace "/", "\"
27
+ docker run -dit --name orphan `
28
+ -v "$repoWorkspace:C:\mount\source" `
29
+ -v "$env:VCToolsInstallDir:C:\mount\msvc" `
30
+ -v "$env:WindowsSdkDir:C:\mount\windowssdk" `
31
+ nanoserver-msvc-winsdk cmd
You can’t perform that action at this time.
0 commit comments