1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-22 16:08:39 -05:00

CI: Add docker build

This commit is contained in:
f4exb 2020-11-07 20:09:45 +01:00
commit 1d29db8795

View File

@ -29,11 +29,15 @@ environment:
-DDEBUG_OUTPUT=ON \
-DENABLE_EXTERNAL_LIBRARIES=ON \
-DBUILD_SERVER=OFF"
- TARGET: ubuntu2004docker
APPVEYOR_BUILD_WORKER_CLOUD: nasrock
APPVEYOR_BUILD_WORKER_IMAGE: Linux
APPVEYOR_CONSOLE_DISABLE_PTY: true
for:
- matrix:
only:
- APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2019'
- TARGET: 'vs2019gui'
cache:
- C:\ProgramData\chocolatey\bin
- C:\ProgramData\chocolatey\lib
@ -63,7 +67,7 @@ for:
branch: master # release from master branch only
- matrix:
only:
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
- TARGET: ubuntu2004prod
cache:
- $HOME/external/
install:
@ -117,3 +121,13 @@ for:
on:
APPVEYOR_REPO_TAG: true # deploy on tag push only
branch: master # release from master branch only
- matrix:
only:
- TARGET: ubuntu2004docker
before_build:
- git clone https://github.com/f4exb/sdrangel-docker.git
- cd sdrangel-docker
build_script:
- cd sdrangel
- ./build_vanilla.sh -T ${APPVEYOR_PULL_REQUEST_HEAD_COMMIT:-${APPVEYOR_REPO_COMMIT}}
- ./build_server.sh -T ${APPVEYOR_PULL_REQUEST_HEAD_COMMIT:-${APPVEYOR_REPO_COMMIT}}