Skip to content

Commit 4fd0ffb

Browse files
committed
CI: Try adding a workflow for the openssl ECH branch.
1 parent 338e6eb commit 4fd0ffb

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

.github/workflows/linux.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,18 @@ jobs:
316316
APU_CONFIG="--without-crypto"
317317
pkgs: subversion
318318
# -------------------------------------------------------------------------
319+
- name: OpenSSL ECH branch
320+
config: --enable-mods-shared=most --enable-maintainer-mode --disable-md --disable-http2 --disable-ldap --disable-crypto
321+
notest-cflags: -Werror -O2
322+
env: |
323+
TEST_OPENSSL3=ech
324+
TEST_OPENSSL3_BRANCH=feature/ech
325+
OPENSSL_CONFIG=no-engine
326+
APR_VERSION=1.7.6
327+
APU_VERSION=1.6.3
328+
APU_CONFIG="--without-crypto"
329+
pkgs: subversion
330+
# -------------------------------------------------------------------------
319331
runs-on: ${{ matrix.os == '' && 'ubuntu-latest' || matrix.os }}
320332
timeout-minutes: 30
321333
env:

test/travis_before_linux.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,12 @@ if test -v TEST_OPENSSL3; then
172172

173173
mkdir -p build/openssl
174174
pushd build/openssl
175-
curl -L "https://github.com/openssl/openssl/releases/download/openssl-${TEST_OPENSSL3}/openssl-${TEST_OPENSSL3}.tar.gz" |
176-
tar -xzf -
175+
if test -v TEST_OPENSSL3_BRANCH; then
176+
git clone -b $TEST_OPENSSL3_BRANCH -q https://github.com/openssl/openssl openssl-${TEST_OPENSSL3}
177+
else
178+
curl -L "https://github.com/openssl/openssl/releases/download/openssl-${TEST_OPENSSL3}/openssl-${TEST_OPENSSL3}.tar.gz" |
179+
tar -xzf -
180+
fi
177181
cd openssl-${TEST_OPENSSL3}
178182
# Build with RPATH so ./bin/openssl doesn't require $LD_LIBRARY_PATH
179183
./Configure --prefix=$HOME/root/openssl3 \

0 commit comments

Comments
 (0)