2023-03-28 12:41:11 -04:00
|
|
|
version: 2.1
|
|
|
|
jobs:
|
2023-03-28 21:31:34 -04:00
|
|
|
build:
|
2023-03-28 12:41:11 -04:00
|
|
|
docker:
|
2023-03-28 21:39:55 -04:00
|
|
|
- image: ubuntu-2204
|
2023-03-28 21:31:34 -04:00
|
|
|
environment:
|
|
|
|
- CACHE_DIR: ~/build/wxWidgets/staticlib
|
2023-03-28 12:41:11 -04:00
|
|
|
steps:
|
|
|
|
- checkout
|
2023-03-28 21:31:34 -04:00
|
|
|
- restore_cache:
|
|
|
|
keys:
|
2023-03-28 21:38:22 -04:00
|
|
|
- cache-{{ checksum "travis-ci/build_wxwidgets.sh" }}
|
2023-03-28 12:41:11 -04:00
|
|
|
- run:
|
2023-03-28 21:31:34 -04:00
|
|
|
name: Install Dependencies
|
|
|
|
command: |
|
|
|
|
sudo apt-get update
|
|
|
|
sudo apt-get install -y libpulse-dev libgtk-3-dev freeglut3 freeglut3-dev libhamlib-dev
|
|
|
|
- run:
|
|
|
|
name: Build LiquidDSP
|
|
|
|
command: bash travis-ci/build_liquiddsp.sh
|
|
|
|
- run:
|
|
|
|
name: Build SoapySDR
|
|
|
|
command: bash travis-ci/build_soapysdr.sh
|
|
|
|
- run:
|
|
|
|
name: Build wxWidgets
|
|
|
|
command: bash travis-ci/build_wxwidgets.sh
|
|
|
|
- run:
|
|
|
|
name: Build CubicSDR
|
|
|
|
command: bash travis-ci/build_cubicsdr.sh
|
|
|
|
- save_cache:
|
2023-03-28 21:38:22 -04:00
|
|
|
key: cache-{{ checksum "travis-ci/build_wxwidgets.sh" }}
|
2023-03-28 21:31:34 -04:00
|
|
|
paths:
|
|
|
|
- ~/build/wxWidgets/staticlib
|