CubicSDR/.circleci/config.yml

34 lines
1.1 KiB
YAML
Raw Normal View History

2023-03-28 12:41:11 -04:00
version: 2.1
jobs:
build_linux:
2023-03-28 12:41:11 -04:00
docker:
2023-03-28 21:42:00 -04:00
- image: cimg/base:2020.01
environment:
- CACHE_DIR: ~/build/wxWidgets/staticlib
2023-03-28 12:41:11 -04:00
steps:
- checkout
- restore_cache:
keys:
- cache-{{ checksum ".circleci/scripts/build_wxwidgets.sh" }}
2023-03-28 12:41:11 -04:00
- run:
name: Install Dependencies
command: |
sudo apt-get update
2023-03-28 21:43:56 -04:00
sudo apt-get install -y build-essential cmake libpulse-dev libgtk-3-dev freeglut3 freeglut3-dev libhamlib-dev
2023-03-28 21:46:34 -04:00
- run:
name: Build wxWidgets
command: bash .circleci/scripts/build_wxwidgets.sh
- run:
name: Build LiquidDSP
command: bash .circleci/scripts/build_liquiddsp.sh
- run:
name: Build SoapySDR
command: bash .circleci/scripts/build_soapysdr.sh
- run:
name: Build CubicSDR
command: bash .circleci/scripts/build_cubicsdr.sh
- save_cache:
key: cache-{{ checksum ".circleci/scripts/build_wxwidgets.sh" }}
paths:
- ~/build/wxWidgets/staticlib