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:
parent
d4e5138a58
commit
1fe12b8e8c
7 changed files with 84 additions and 77 deletions
5
.github/workflows/codeql-analysis.yml
vendored
5
.github/workflows/codeql-analysis.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue