mirror of
https://github.com/iv-org/lsquic-static-alpine.git
synced 2025-08-03 20:24:16 -04:00
Compare commits
9 commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
ba053fe503 | ||
![]() |
ebf1779197 | ||
![]() |
279c80ecd4 | ||
![]() |
0e80d04796 | ||
![]() |
4751be6c11 | ||
![]() |
2757fe250c | ||
![]() |
bc82af70b0 | ||
![]() |
bbfbee872b | ||
![]() |
f17eb6e341 |
2 changed files with 49 additions and 36 deletions
45
.github/workflows/build.yml
vendored
45
.github/workflows/build.yml
vendored
|
@ -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 }}-${{ env.BORINGSSL_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
4
env.sh
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
BORINGSSL_COMMIT=b117a3a0b7bd11fe6ebd503ec6b45d6b910b41a1
|
||||
LSQUIC_COMMIT=32a0aa38a49a8d84f80c62e184543dcbd439c5aa
|
||||
BORINGSSL_COMMIT=a9670a8b476470e6f874fef3554e8059683e1413
|
||||
LSQUIC_COMMIT=0a4f8953dc92dd3085e48ed90f293f052cff8427
|
||||
|
||||
echo "BORINGSSL_COMMIT=$BORINGSSL_COMMIT" >> $GITHUB_ENV
|
||||
echo "LSQUIC_COMMIT=$LSQUIC_COMMIT" >> $GITHUB_ENV
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue