File tree 1 file changed +31
-5
lines changed
1 file changed +31
-5
lines changed Original file line number Diff line number Diff line change 1
- name : Build
1
+ name : OpenVPNServ2
2
2
3
3
on :
4
4
push :
5
+ branches :
6
+ - master
5
7
pull_request :
6
- branches : [ "master" ]
8
+ branches :
9
+ - master
7
10
8
11
jobs :
9
- build :
10
-
12
+ ubuntu :
11
13
runs-on : ubuntu-latest
12
-
13
14
steps :
14
15
- uses : actions/checkout@v3
15
16
- name : Install dependencies
16
17
run : sudo apt-get update && sudo apt-get install mono-devel
17
18
- name : Build
18
19
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