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:
commit
1d29db8795
@ -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}}
|
||||
|
Loading…
Reference in New Issue
Block a user