Version 2.23.3

This commit is contained in:
Samantaz Fox 2022-08-04 17:49:03 +02:00
parent bb9fad267c
commit eae5041c35
2 changed files with 35 additions and 48 deletions

View File

@ -9,7 +9,7 @@ on:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: alpine:latest container: alpine:3.14
outputs: outputs:
LSQUIC_COMMIT: ${{ env.LSQUIC_COMMIT }} LSQUIC_COMMIT: ${{ env.LSQUIC_COMMIT }}
@ -17,7 +17,21 @@ jobs:
steps: steps:
- name: Install action dependencies - name: Install action dependencies
run: apk add git tar run: |
apk add \
binutils \
bsd-compat-headers \
build-base \
cmake \
git \
go \
libevent-dev \
linux-headers \
ninja \
perl \
tar \
zlib-dev \
zlib-static
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -34,41 +48,15 @@ jobs:
- name: Build BoringSSL - name: Build BoringSSL
if: steps.cache-boringssl.outputs.cache-hit != 'true' if: steps.cache-boringssl.outputs.cache-hit != 'true'
run: | run: |
apk add \
build-base \
cmake \
git \
go \
linux-headers \
ninja \
perl
git clone https://boringssl.googlesource.com/boringssl git clone https://boringssl.googlesource.com/boringssl
cd boringssl cd boringssl
git checkout $BORINGSSL_COMMIT git checkout $BORINGSSL_COMMIT
cmake -DCMAKE_BUILD_TYPE=Release -GNinja . cmake -DCMAKE_BUILD_TYPE=Release -GNinja .
ninja ninja
- name: Cache LSQUIC
id: cache-lsquic
uses: actions/cache@v2
with:
path: ./lsquic
key: lsquic-${{ env.LSQUIC_COMMIT }}-${{ env.BORINGSSL_COMMIT }}
- name: Build LSQUIC - name: Build LSQUIC
if: steps.cache-lsquic.outputs.cache-hit != 'true' if: steps.cache-lsquic.outputs.cache-hit != 'true'
run: | run: |
apk add \
build-base \
bsd-compat-headers \
cmake \
git \
go \
libevent-dev \
linux-headers \
perl \
zlib-dev \
zlib-static
git clone https://github.com/litespeedtech/lsquic.git git clone https://github.com/litespeedtech/lsquic.git
cd lsquic cd lsquic
git checkout $LSQUIC_COMMIT git checkout $LSQUIC_COMMIT
@ -92,7 +80,6 @@ jobs:
- name: Prepare artifact / release asset - name: Prepare artifact / release asset
run: | run: |
apk add binutils
mkdir dist mkdir dist
cd dist cd dist
ar -x ../boringssl/ssl/libssl.a ar -x ../boringssl/ssl/libssl.a

2
env.sh
View File

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
BORINGSSL_COMMIT=b117a3a0b7bd11fe6ebd503ec6b45d6b910b41a1 BORINGSSL_COMMIT=b117a3a0b7bd11fe6ebd503ec6b45d6b910b41a1
LSQUIC_COMMIT=f198a02df8d5629c9f40fff726081aeea0f1681c LSQUIC_COMMIT=078f53798c01037dc57c1313ea128a0583465cba
echo "BORINGSSL_COMMIT=$BORINGSSL_COMMIT" >> $GITHUB_ENV echo "BORINGSSL_COMMIT=$BORINGSSL_COMMIT" >> $GITHUB_ENV
echo "LSQUIC_COMMIT=$LSQUIC_COMMIT" >> $GITHUB_ENV echo "LSQUIC_COMMIT=$LSQUIC_COMMIT" >> $GITHUB_ENV