Ilya Shipitsin
115b8aab82
openvpn live tests: change "remote" inplace
...
command line override is not very stable
2021-08-30 09:46:45 +05:00
Ilya Shipitsin
84bc94b232
CI: Azure Pipelines: enable submodules checkout
...
it is better to have this enabled in yml, cause it allows to build
from forks easier
2021-08-26 14:34:09 +05:00
Ilya Shipitsin
a541c0286e
CI: Azure Pipelines: explicitly install liblz4-dev
...
since 24596b258a
bundled lz4 was removed. openvpn (used for live tests) now relies on system lz4 lib.
2021-04-15 15:11:35 +05:00
Davide Beatrici
3ffdda6c13
Azure Pipelines: Replace "x86_64" with "x64", for consistency with the codebase
2021-03-01 04:03:28 +01:00
Davide Beatrici
2dab282eb2
CI: Switch from Ubuntu 16.04 to 18.04, install libsodium
...
This commit:
- Switches from Ubuntu 16.04 to 18.04 for all builds, mainly in order to use a more recent version of libsodium.
- Installs libsodium, used by the WireGuard implementation.
2021-03-01 02:56:16 +01:00
Davide Beatrici
2969237e04
Azure Pipelines: Use "python3" instead of "python" on macOS
...
63b841efc0
was not the solution, the error is the print statement itself.
Python 2 is probably used by default and thus "python" is an alias to it.
2021-02-20 17:23:53 +01:00
Davide Beatrici
9620dcbcd0
Azure Pipelines: Retrieve build number from server, pass it to CMake
...
The script on our server bumps the build number for every new version + commit combination.
Each combination is associated to a unique build number and vice versa.
There's a separate counter for each version.
The reason why we cannot just use "git describe --tags --dirty" is because it relies on the last tag's name and generates a string like "5.01.9674-212-g54280853".
What we want, instead, is the last part of the version to be increased for every build.
Then, once we consider the branch stable enough, we create a tag like "5.01" and bump the version immediately after the new release.
Please note that for pull requests the build number will always be 0, because the secret token is only available in the Nightly pipeline.
2021-02-19 21:22:48 +01:00
Davide Beatrici
943ddadd3d
Move Azure Pipelines configurations into dedicated directory
2021-02-19 21:17:05 +01:00
Ilya Shipitsin
99e99a46b1
wait for vpnserver to listen localhost:443 in live tests
2020-11-04 22:45:56 +05:00
Ilya Shipitsin
9e7d87bea6
travis-ci: fix coverity build (broken since 20 Jul 2020)
2020-10-10 17:04:34 +05:00
Davide Beatrici
a8fdc1184a
Azure Pipelines: use "clang-cl" for Windows builds
...
Now that we can successfully compile with Clang, there's probably no reason to stick with MSVC.
2020-08-16 02:15:25 +02:00
Davide Beatrici
e8793a0098
Merge PR #1187 : Find OpenSSL and zlib on Windows like we do on UNIX, use vcpkg on Azure Pipelines, remove Windows build on AppVeyor
2020-07-28 20:13:39 +02:00
Davide Beatrici
e1d9eaf590
.ci/start-se-openvpn.sh: use new vpncmd command to enable OpenVPN
2020-07-28 00:59:28 +02:00
Davide Beatrici
c865103795
Azure Pipelines: install OpenSSL and zlib through vcpkg on Windows
...
This commit also changes the x86 build so that it uses the "amd64_x86" toolchain, for potentially better build performance.
The architecture is now appended to the installers.
2020-07-27 23:34:34 +02:00
Davide Beatrici
5bf08e63bb
Azure Pipelines: build Windows installers and provide them as artifacts
2020-07-27 21:00:12 +02:00
Davide Beatrici
8e53b948c5
Azure Pipelines: switch from MSVC 2017 to 2019
2020-07-27 20:44:15 +02:00
Davide Beatrici
3747d2bf3f
Azure Pipelines: add macOS build
2020-07-21 23:23:29 +02:00
Davide Beatrici
74a1e9bd1b
Azure Pipelines: add Windows 32 bit build
2020-07-21 22:01:22 +02:00
Davide Beatrici
59be67df25
Azure Pipelines: templatize Windows steps
2020-07-21 22:01:19 +02:00
Davide Beatrici
6801e4b384
Azure Pipelines: improve steps, use Ninja and designated build directory
2020-07-21 21:11:57 +02:00
Davide Beatrici
c948f65850
Azure Pipelines: remove submodules checkout step, it's in the pipeline
2020-07-21 02:46:37 +02:00
Davide Beatrici
a9b30b829f
Azure Pipelines: improve job names
...
"Ubuntu 16.04" -> "Ubuntu (x86_64)"
"Visual Studio 2017" -> "Windows (x86_64)"
2020-07-21 02:46:28 +02:00
Davide Beatrici
3c2f5a41ba
Use "build" folder instead of "tmp" in CI scripts
2020-07-20 20:33:36 +02:00
Davide Beatrici
f7f6eeec44
.ci/start-se-openvpn.sh: use new vpncmd command to set the UDP port
2020-05-20 20:18:51 +02:00
Koichiro IWAO
1c07ddcb8d
FreeBSD CI: perform memory leak test as well as Linux/Windows
...
and also move `vpncmd /tools /cmd:check` under .ci directory.
2019-12-06 15:28:38 +09:00
Ilya Shipitsin
2fa28480f9
ci: display error if vpntest failed
2019-08-04 14:42:52 +05:00
Ilya Shipitsin
ad33008a29
add "no-deprecated" to openssl builds "no-deprecated" is widely used in openwrt devices
2019-07-22 11:35:20 -07:00
Ilya Shipitsin
e10983ec6f
enable sonar-scan in travis-ci builds
2019-07-17 11:58:30 +05:00
Ilya Shipitsin
c2ad67a907
Change release packaging
...
Fixes : #846
2019-07-08 12:09:58 +05:00
Ilya Shipitsin
d25d0c2465
azure pipelines windows: build artifacts, tests
2019-03-13 23:59:04 +05:00
Ilya Shipitsin
1de08b05b2
azure pipelines linux: remove not needed setting
2019-03-13 23:58:17 +05:00
Ilya Shipitsin
13b531c763
Azure Pipelines: refactoring, adding windows target
2019-03-13 01:37:47 +05:00
Ilya Shipitsin
77894a34ce
AppVeyor: run openvpn integration tests
2019-01-06 16:53:42 +05:00
Ilya Shipitsin
eb64940d36
run openvpn tests within Azure Pipelines
2019-01-05 19:18:39 +05:00
Ilya Shipitsin
557d0a02d9
AppVeyor: do not upload ubuntu packages (we will swtich to Launchpad instead),
...
make vs2017 and vs2015 names different from each other, rename linux test script
2018-11-28 02:33:52 +05:00
Ilya Shipitsin
6640f05233
AppVeyor: renew github token, renamed APPVEYOR_REPO_TAG to upper case,
...
added vpntest.exe to test memory
2018-11-27 01:01:30 +05:00
Ilya Shipitsin
3e042e093b
travis-ci: add libressl build, make builds parallel, remove not needed brew
2018-11-10 12:32:21 +05:00
Ilya Shipitsin
f97a20a9cc
AppVeyor: only add systemctl log when appropriate
2018-11-03 23:49:22 +05:00
Ilya Shipitsin
1af74e50ad
AppVeyor: run "vpntest" for ubuntu 18.04
2018-10-29 15:53:42 +05:00
Ilya Shipitsin
092fe96676
app veyor: make it green again
2018-10-26 17:24:09 +05:00
Ilya Shipitsin
92393b4a75
travis-ci: small coverity fixes: change branch filter to master
...
remove "secure" variable, token is availavle from travis-ci env variables
2018-08-12 23:18:48 +05:00
Ilya Shipitsin
5fc6b10fe1
add coverity scan to travis-ci matrix
2018-08-12 20:18:23 +05:00
Davide Beatrici
8a064164c9
Travis: create package with CMake
2018-08-09 23:59:43 +02:00
Ilya Shipitsin
be0ebb65c1
fix debian package builds ( #554 )
...
* fix debian builds
issue described: https://github.com/SoftEtherVPN/SoftEtherVPN/issues/550
* add cmake3 dependency (for ubuntu 14.04)
* "compat" belongs to debian/ subfolder
that file is not needed in root folder
* update debian package version
* compare debian/changelog and src/CurrentBuild.txt
2018-06-28 13:23:21 +02:00
Ilya Shipitsin
8baead6042
refactor travis-ci: ( #530 )
...
osx does not come with gcc, actually it is clang. so, remove it.
move debhelper installation to "apt" plugin (it will affect only linux).
add otool (which is ldd equivalent) on osx.
split "before_install", "script" into matrix
2018-05-28 23:19:04 +02:00
Davide Beatrici
f65ae2bf7d
Replace hand-written Makefiles with CMake ( #518 )
...
* src: remove makefiles
* .gitignore: remove CMakeLists.txt
* README.md: add CMake to the required packages
* debian: add CMake to the dependencies
* Travis CI: specify Makefile directory
* Replace hand-written Makefiles with CMake
2018-05-22 22:20:41 +02:00
Davide Beatrici
7f499d0e5f
Travis CI: add MacOS target and create scripts files ( #523 )
...
* makefiles: add /usr/local/opt/openssl/include and /usr/local/opt/openssl/lib as include paths on MacOS
* Travis CI: add MacOS target and create scripts files
2018-05-02 23:12:01 +02:00
Ilya Shipitsin
26f3ebc059
travis-ci: split openssl into 1.0.2, 1.1.0 matrix ( #477 )
2018-04-09 23:16:38 +02:00