mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2025-07-01 23:35:47 +00:00
Add Raspbian package build to CI
This commit is contained in:
parent
572644800d
commit
48de7760dc
15
appveyor.yml
15
appveyor.yml
@ -7,19 +7,24 @@ environment:
|
|||||||
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
|
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
|
||||||
PACKAGES: libssl-dev libopus-dev libasound2-dev libudev-dev libavahi-client-dev libcurl4-openssl-dev libevdev-dev libexpat1-dev libpulse-dev uuid-dev cmake gcc g++ libavcodec-dev libavutil-dev libsdl2-dev libva-dev libvdpau-dev libcec-dev libp8-platform-dev
|
PACKAGES: libssl-dev libopus-dev libasound2-dev libudev-dev libavahi-client-dev libcurl4-openssl-dev libevdev-dev libexpat1-dev libpulse-dev uuid-dev cmake gcc g++ libavcodec-dev libavutil-dev libsdl2-dev libva-dev libvdpau-dev libcec-dev libp8-platform-dev
|
||||||
BUILD_TARGET: ubuntu
|
BUILD_TARGET: ubuntu
|
||||||
|
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
|
||||||
|
PACKAGES: qemu binfmt-support qemu-user-static
|
||||||
|
BUILD_TARGET: raspbian
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- 'sudo apt update'
|
- 'sudo apt update'
|
||||||
- 'sudo apt install -y $PACKAGES'
|
- 'sudo apt install -y $PACKAGES'
|
||||||
|
- '[ "$BUILD_TARGET" != raspbian ] || docker run --rm --privileged multiarch/qemu-user-static --reset -p yes'
|
||||||
|
|
||||||
before_build:
|
before_build:
|
||||||
- 'git submodule update --init --recursive'
|
- 'git submodule update --init --recursive'
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- mkdir build
|
- 'if [[ "$BUILD_TARGET" = ubuntu ]]; then mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/tmp .. && make -j$(nproc) && make install; fi'
|
||||||
- cd build
|
- 'if [[ "$BUILD_TARGET" = raspbian ]]; then git clone --recursive https://github.com/cgutman/moonlight-embedded-packaging.git && cd moonlight-embedded-packaging && sh -c "./build-rpi.sh $APPVEYOR_REPO_COMMIT"; fi'
|
||||||
- cmake -DCMAKE_INSTALL_PREFIX=/tmp ..
|
|
||||||
- make -j$(nproc)
|
after_build:
|
||||||
- make install
|
- sh: '[ "$BUILD_TARGET" != raspbian ] || appveyor PushArtifact out_*/moonlight-embedded_*.deb'
|
||||||
|
- sh: '[ "$BUILD_TARGET" != raspbian ] || appveyor PushArtifact out_*/moonlight-embedded-dbgsym_*.deb'
|
||||||
|
|
||||||
deploy: off
|
deploy: off
|
||||||
|
Loading…
x
Reference in New Issue
Block a user