Compare commits

..

9 commits

Author SHA1 Message Date
Samantaz Fox
ba053fe503 Version 3.1.1 2022-08-05 17:31:31 +02:00
Samantaz Fox
ebf1779197 Version 3.0.4 2022-08-05 17:30:54 +02:00
Samantaz Fox
279c80ecd4 Version 2.30.2 2022-08-05 17:29:33 +02:00
Samantaz Fox
0e80d04796 Version 2.29.6 2022-08-05 17:28:53 +02:00
Samantaz Fox
4751be6c11 Version 2.27.7 2022-08-05 17:27:54 +02:00
Samantaz Fox
2757fe250c Version 2.27.6 2022-08-05 17:24:06 +02:00
Samantaz Fox
bc82af70b0 Version 2.26.2 2022-08-05 17:23:13 +02:00
Samantaz Fox
bbfbee872b Version 2.24.5 2022-08-04 17:50:35 +02:00
Samantaz Fox
f17eb6e341 Version 2.23.3 2022-08-04 17:49:03 +02:00
2 changed files with 49 additions and 36 deletions

View file

@ -9,7 +9,7 @@ on:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: alpine:3.14 container: alpine:latest
outputs: outputs:
LSQUIC_COMMIT: ${{ env.LSQUIC_COMMIT }} LSQUIC_COMMIT: ${{ env.LSQUIC_COMMIT }}
@ -17,21 +17,7 @@ jobs:
steps: steps:
- name: Install action dependencies - name: Install action dependencies
run: | run: apk add git tar
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
@ -48,15 +34,41 @@ 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
@ -80,6 +92,7 @@ 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

4
env.sh
View file

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
BORINGSSL_COMMIT=b117a3a0b7bd11fe6ebd503ec6b45d6b910b41a1 BORINGSSL_COMMIT=a9670a8b476470e6f874fef3554e8059683e1413
LSQUIC_COMMIT=32a0aa38a49a8d84f80c62e184543dcbd439c5aa LSQUIC_COMMIT=0a4f8953dc92dd3085e48ed90f293f052cff8427
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