Compare commits

..

No commits in common. "master" and "v2.18.1" have entirely different histories.

2 changed files with 49 additions and 36 deletions

View file

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

4
env.sh
View file

@ -1,7 +1,7 @@
#!/bin/sh
BORINGSSL_COMMIT=b117a3a0b7bd11fe6ebd503ec6b45d6b910b41a1
LSQUIC_COMMIT=32a0aa38a49a8d84f80c62e184543dcbd439c5aa
BORINGSSL_COMMIT=251b5169fd44345f455438312ec4e18ae07fd58c
LSQUIC_COMMIT=692a91022d93293415722c0cedf36dc3825021e4
echo "BORINGSSL_COMMIT=$BORINGSSL_COMMIT" >> $GITHUB_ENV
echo "LSQUIC_COMMIT=$LSQUIC_COMMIT" >> $GITHUB_ENV