1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Speedup test by using cache image.

This commit is contained in:
winlin 2022-08-13 10:27:14 +08:00
parent d4e5138a58
commit 1fe12b8e8c
7 changed files with 84 additions and 77 deletions

View file

@ -25,7 +25,10 @@ jobs:
- name: Build SRS
run: |
cd trunk && ./configure && make
echo "pwd: $(pwd), who: $(whoami)"
docker run --rm -v $(pwd):$(pwd) -w $(pwd)/trunk ossrs/srs:ubuntu20-cache \
bash -c "./configure --jobs=2 && chmod 777 -R objs"
cd trunk && ./configure --jobs=2 && make -j2
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2