apk add \
git binutils make autoconf automake gcc linux-headers diffutils texinfo \
- procps socat shadow sudo \
+ procps socat shadow sudo libgcrypt-dev \
openssl-dev zlib-dev lzo-dev ncurses-dev readline-dev musl-dev lz4-dev vde2-dev
}
yum install -y \
git binutils make autoconf automake gcc diffutils sudo texinfo netcat procps systemd \
- findutils socat lzo-devel zlib-devel lz4-devel ncurses-devel readline-devel "$@"
+ findutils socat lzo-devel zlib-devel lz4-devel ncurses-devel readline-devel libgcrypt-devel "$@"
if yum info openssl11-devel; then
yum install -y openssl11-devel
}
deps_macos() {
- brew install coreutils netcat automake lzo lz4 miniupnpc "$@"
+ brew install coreutils netcat automake lzo lz4 miniupnpc libgcrypt "$@"
pip3 install --user compiledb
}
jobs:
cross:
runs-on: ubuntu-latest
- timeout-minutes: 15
+ timeout-minutes: 30
strategy:
fail-fast: false
matrix:
- name: Run tests without legacy protocol
run: sudo -u build CI=1 HOST=${{ matrix.arch }} sh .ci/test/run.sh nolegacy
+ - name: Run tests with libgcrypt
+ run: sudo -u build CI=1 HOST=${{ matrix.arch }} sh .ci/test/run.sh gcrypt
+
- name: Upload test results
uses: actions/upload-artifact@v2
with:
- name: Run tests without legacy protocol
run: sudo -u build CI=1 sh .ci/test/run.sh nolegacy
+ - name: Run tests with libgcrypt
+ run: sudo -u build CI=1 sh .ci/test/run.sh gcrypt
+
- name: Upload test results
uses: actions/upload-artifact@v2
with:
macos:
runs-on: macos-latest
- timeout-minutes: 15
+ timeout-minutes: 20
steps:
- name: Checkout code
- name: Run tests without legacy protocol
run: sh .ci/test/run.sh nolegacy
+ - name: Run tests with libgcrypt
+ run: sh .ci/test/run.sh gcrypt
+
- name: Upload test results
uses: actions/upload-artifact@v2
with:
windows:
runs-on: windows-latest
- timeout-minutes: 20
+ timeout-minutes: 30
steps:
- name: Install msys2
base-devel
mingw-w64-x86_64-gcc
mingw-w64-x86_64-openssl
+ mingw-w64-x86_64-libgcrypt
mingw-w64-x86_64-zlib
mingw-w64-x86_64-lzo2
mingw-w64-x86_64-lz4
shell: msys2 {0}
run: sh .ci/test/run.sh nolegacy
+ - name: Run tests with libgcrypt
+ shell: msys2 {0}
+ run: sh .ci/test/run.sh gcrypt
+
- name: Upload test results
uses: actions/upload-artifact@v2
with: