forked from xkjyeah/openvpnserv2
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from flichtenheld/gha
GitHub action
- Loading branch information
Showing
2 changed files
with
26 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Build | ||
|
||
on: | ||
push: | ||
pull_request: | ||
branches: [ "master" ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install dependencies | ||
run: sudo apt-get update && sudo apt-get install mono-devel | ||
- name: Build | ||
run: ./build.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
#!/bin/sh | ||
|
||
xbuild /p:Configuration=Release "/p:Platform=Any CPU" OpenVpnService.sln | ||
xbuild /p:Configuration=Release "/p:Platform=x86" OpenVpnService.sln | ||
xbuild /p:Configuration=Release "/p:Platform=x64" OpenVpnService.sln | ||
set -eux | ||
|
||
xbuild /p:Configuration=Debug "/p:Platform=Any CPU" OpenVpnService.sln | ||
xbuild /p:Configuration=Debug "/p:Platform=x86" OpenVpnService.sln | ||
xbuild /p:Configuration=Debug "/p:Platform=x64" OpenVpnService.sln | ||
xbuild /p:Configuration=Release "/p:Platform=Any CPU" OpenVpnService.sln | ||
xbuild /p:Configuration=Release "/p:Platform=x86" OpenVpnService.sln | ||
xbuild /p:Configuration=Release "/p:Platform=x64" OpenVpnService.sln | ||
|
||
xbuild /p:Configuration=Debug "/p:Platform=Any CPU" OpenVpnService.sln | ||
xbuild /p:Configuration=Debug "/p:Platform=x86" OpenVpnService.sln | ||
xbuild /p:Configuration=Debug "/p:Platform=x64" OpenVpnService.sln |