mirror of
https://github.com/ossrs/srs.git
synced 2025-02-15 04:42:04 +00:00
Add CI for armv7 and aarch64
This commit is contained in:
parent
a52e7c08ea
commit
593391e765
1 changed files with 22 additions and 0 deletions
|
@ -123,6 +123,28 @@ jobs:
|
||||||
- run: |
|
- run: |
|
||||||
echo "Build SRS C++98(ANSI), no FFmpeg-fit" &&
|
echo "Build SRS C++98(ANSI), no FFmpeg-fit" &&
|
||||||
cd trunk && ./configure --cxx11=off --cxx14=off --ffmpeg-fit=off && make
|
cd trunk && ./configure --cxx11=off --cxx14=off --ffmpeg-fit=off && make
|
||||||
|
build-cross-build-armv7:
|
||||||
|
docker:
|
||||||
|
- image: ossrs/srs:ubuntu16
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- run: |
|
||||||
|
echo "Cross build SRS for armv7" &&
|
||||||
|
cd trunk &&
|
||||||
|
./configure --cross-build --cc=arm-linux-gnueabihf-gcc --cxx=arm-linux-gnueabihf-g++ \
|
||||||
|
--ar=arm-linux-gnueabihf-ar --ld=arm-linux-gnueabihf-ld --randlib=arm-linux-gnueabihf-randlib &&
|
||||||
|
make
|
||||||
|
build-cross-build-aarch64:
|
||||||
|
docker:
|
||||||
|
- image: ossrs/srs:ubuntu16
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- run: |
|
||||||
|
echo "Cross build SRS for aarch64" &&
|
||||||
|
cd trunk &&
|
||||||
|
./configure --cross-build --cc=aarch64-linux-gnu-gcc --cxx=aarch64-linux-gnu-g++ \
|
||||||
|
--ar=aarch64-linux-gnu-ar --ld=aarch64-linux-gnu-ld --randlib=aarch64-linux-gnu-randlib &&
|
||||||
|
make
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
build_and_test:
|
build_and_test:
|
||||||
|
|
Loading…
Reference in a new issue