mirror of
https://github.com/OpenVPN/openvpn.git
synced 2025-05-09 05:31:05 +08:00
GitHub Actions: update script to same version as master
Signed-off-by: Antonio Quartulli <a@unstable.cc> Acked-by: Arne Schwabe <arne@rfc2549.org> Message-Id: <20220121204933.591-1-a@unstable.cc> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg23634.html Signed-off-by: Gert Doering <gert@greenie.muc.de>
This commit is contained in:
parent
a184e790df
commit
f1f8eb5f88
68
.github/workflows/build.yaml
vendored
68
.github/workflows/build.yaml
vendored
@ -5,6 +5,7 @@ on: [push, pull_request]
|
||||
jobs:
|
||||
mingw:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- target: mingw64
|
||||
@ -12,6 +13,8 @@ jobs:
|
||||
- target: mingw
|
||||
chost: i686-w64-mingw32
|
||||
|
||||
name: "gcc-mingw - ${{matrix.target}}"
|
||||
|
||||
runs-on: ubuntu-20.04
|
||||
env:
|
||||
MAKEFLAGS: -j3
|
||||
@ -125,32 +128,81 @@ jobs:
|
||||
|
||||
ubuntu:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-18.04, ubuntu-20.04]
|
||||
ssllib: [mbedtls, openssl]
|
||||
sslpkg: [libmbedtls-dev]
|
||||
ssllib: [mbedtls]
|
||||
libname: [mbed TLS]
|
||||
|
||||
include:
|
||||
- os: ubuntu-18.04
|
||||
sslpkg: "libssl1.0-dev"
|
||||
ssllib: openssl
|
||||
libname: OpenSSL 1.0.2
|
||||
- os: ubuntu-18.04
|
||||
sslpkg: "libssl-dev"
|
||||
libname: OpenSSL 1.1.1
|
||||
ssllib: openssl
|
||||
- os: ubuntu-20.04
|
||||
sslpkg: "libssl-dev"
|
||||
libname: OpenSSL 1.1.1
|
||||
ssllib: openssl
|
||||
- os: ubuntu-20.04
|
||||
sslpkg: "libssl-dev"
|
||||
libname: OpenSSL 1.1.1
|
||||
ssllib: openssl
|
||||
extraconf: "--enable-iproute2"
|
||||
- os: ubuntu-20.04
|
||||
sslpkg: "libssl-dev"
|
||||
libname: OpenSSL 1.1.1
|
||||
ssllib: openssl
|
||||
extraconf: "--enable-async-push"
|
||||
- os: ubuntu-20.04
|
||||
sslpkg: "libssl-dev"
|
||||
libname: OpenSSL 1.1.1
|
||||
ssllib: openssl
|
||||
extraconf: "--disable-management"
|
||||
- os: ubuntu-20.04
|
||||
sslpkg: "libssl-dev"
|
||||
libname: OpenSSL 1.1.1
|
||||
ssllib: openssl
|
||||
extraconf: "--enable-small"
|
||||
- os: ubuntu-20.04
|
||||
sslpkg: "libssl-dev"
|
||||
libname: OpenSSL 1.1.1
|
||||
ssllib: openssl
|
||||
extraconf: "--disable-lzo --disable-lz4"
|
||||
|
||||
name: "gcc - ${{matrix.os}} - ${{matrix.libname}} ${{matrix.extraconf}}"
|
||||
env:
|
||||
SSLPKG: "${{matrix.sslpkg}}"
|
||||
|
||||
runs-on: ${{matrix.os}}
|
||||
steps:
|
||||
- name: Install dependencies
|
||||
run: sudo apt update && sudo apt install -y liblzo2-dev libpam0g-dev liblz4-dev linux-libc-dev man2html libcmocka-dev python3-docutils libtool automake autoconf libmbedtls-dev
|
||||
run: sudo apt update && sudo apt install -y liblzo2-dev libpam0g-dev liblz4-dev linux-libc-dev man2html libcmocka-dev python3-docutils libtool automake autoconf ${SSLPKG}
|
||||
- name: Checkout OpenVPN
|
||||
uses: actions/checkout@v2
|
||||
- name: autoconf
|
||||
run: autoreconf -fvi
|
||||
- name: configure --with-crypto-library=${{matrix.ssllib}}
|
||||
run: ./configure
|
||||
- name: configure
|
||||
run: ./configure --with-crypto-library=${{matrix.ssllib}} ${{matrix.extraconf}}
|
||||
- name: make all
|
||||
run: make -j3
|
||||
- name: make check
|
||||
run: make check
|
||||
|
||||
ubutun20-clang-asan:
|
||||
ubuntu-clang-asan:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-16.04, ubuntu-18.04]
|
||||
os: [ubuntu-20.04]
|
||||
ssllib: [mbedtls, openssl]
|
||||
|
||||
runs-on: ubuntu-20.04
|
||||
name: "clang-asan - ${{matrix.os}} - ${{matrix.ssllib}}"
|
||||
|
||||
runs-on: ${{matrix.os}}
|
||||
steps:
|
||||
- name: Install dependencies
|
||||
run: sudo apt update && sudo apt install -y liblzo2-dev libpam0g-dev liblz4-dev linux-libc-dev man2html clang libcmocka-dev python3-docutils libtool automake autoconf libmbedtls-dev
|
||||
@ -184,6 +236,7 @@ jobs:
|
||||
|
||||
msvc:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
plat: [ARM64, Win32, x64]
|
||||
include:
|
||||
@ -194,6 +247,7 @@ jobs:
|
||||
- plat: x64
|
||||
triplet: x64
|
||||
|
||||
name: "msbuild - ${{matrix.triplet}} - openssl"
|
||||
env:
|
||||
BUILD_CONFIGURATION: Release
|
||||
VCPKG_OVERLAY_PORTS: ${{ github.workspace }}/contrib/vcpkg-ports
|
||||
|
Loading…
x
Reference in New Issue
Block a user