File tree Expand file tree Collapse file tree 1 file changed +31
-5
lines changed
Expand file tree Collapse file tree 1 file changed +31
-5
lines changed Original file line number Diff line number Diff line change 1- name : Build
1+ name : OpenVPNServ2
22
33on :
44 push :
5+ branches :
6+ - master
57 pull_request :
6- branches : [ "master" ]
8+ branches :
9+ - master
710
811jobs :
9- build :
10-
12+ ubuntu :
1113 runs-on : ubuntu-latest
12-
1314 steps :
1415 - uses : actions/checkout@v3
1516 - name : Install dependencies
1617 run : sudo apt-get update && sudo apt-get install mono-devel
1718 - name : Build
1819 run : ./build.sh
20+
21+ win :
22+ runs-on : windows-latest
23+ strategy :
24+ matrix :
25+ platform : [ "Any CPU", "x86", "x64" ]
26+ steps :
27+ - name : Checkout Code
28+ uses : actions/checkout@v4
29+
30+ - name : Setup MSBuild
31+ uses : microsoft/setup-msbuild@v2
32+
33+ - name : Build Solution
34+ run : msbuild OpenVpnService.sln /p:Configuration=Release "/p:Platform=${{ matrix.platform }}"
35+
36+ - name : Upload Build Artifacts
37+ uses : actions/upload-artifact@v4
38+ with :
39+ name : OpenVpnService-${{ matrix.platform }}
40+ path : |
41+ bin/Release/**
42+ bin/x86/Release/**
43+ bin/x64/Release/**
44+
You can’t perform that action at this time.
0 commit comments