1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 10:05:46 -05:00

Merge pull request #686 from kasper93/docker

CI: Add docker build
This commit is contained in:
Edouard Griffiths 2020-11-07 08:53:42 +01:00 committed by GitHub
commit d22d2a460d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,11 +29,15 @@ environment:
-DDEBUG_OUTPUT=ON \ -DDEBUG_OUTPUT=ON \
-DENABLE_EXTERNAL_LIBRARIES=ON \ -DENABLE_EXTERNAL_LIBRARIES=ON \
-DBUILD_SERVER=OFF" -DBUILD_SERVER=OFF"
- TARGET: ubuntu2004docker
APPVEYOR_BUILD_WORKER_CLOUD: nasrock
APPVEYOR_BUILD_WORKER_IMAGE: Linux
APPVEYOR_CONSOLE_DISABLE_PTY: true
for: for:
- matrix: - matrix:
only: only:
- APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2019' - TARGET: 'vs2019gui'
cache: cache:
- C:\ProgramData\chocolatey\bin - C:\ProgramData\chocolatey\bin
- C:\ProgramData\chocolatey\lib - C:\ProgramData\chocolatey\lib
@ -63,7 +67,7 @@ for:
branch: master # release from master branch only branch: master # release from master branch only
- matrix: - matrix:
only: only:
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004 - TARGET: ubuntu2004prod
cache: cache:
- $HOME/external/ - $HOME/external/
install: install:
@ -117,3 +121,13 @@ for:
on: on:
APPVEYOR_REPO_TAG: true # deploy on tag push only APPVEYOR_REPO_TAG: true # deploy on tag push only
branch: master # release from master branch 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}}