mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-11-25 13:18:37 -05:00
Trying GPT-4 auto conversion from travis-ci yml
This commit is contained in:
parent
50370cc74b
commit
41d27ad357
@ -1,26 +1,33 @@
|
||||
# Use the latest 2.1 version of CircleCI pipeline process engine.
|
||||
# See: https://circleci.com/docs/2.0/configuration-reference
|
||||
version: 2.1
|
||||
|
||||
# Define a job to be invoked later in a workflow.
|
||||
# See: https://circleci.com/docs/2.0/configuration-reference/#jobs
|
||||
jobs:
|
||||
say-hello:
|
||||
# Specify the execution environment. You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub.
|
||||
# See: https://circleci.com/docs/2.0/configuration-reference/#docker-machine-macos-windows-executor
|
||||
build:
|
||||
docker:
|
||||
- image: cimg/base:stable
|
||||
# Add steps to the job
|
||||
# See: https://circleci.com/docs/2.0/configuration-reference/#steps
|
||||
- image: circleci/buildpack-deps:trusty
|
||||
environment:
|
||||
- CACHE_DIR: ~/build/wxWidgets/staticlib
|
||||
steps:
|
||||
- checkout
|
||||
- restore_cache:
|
||||
keys:
|
||||
- cache-{{ checksum "circleci/cache-key" }}
|
||||
- run:
|
||||
name: "Say hello"
|
||||
command: "echo Hello, World!"
|
||||
|
||||
# Invoke jobs via workflows
|
||||
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows
|
||||
workflows:
|
||||
say-hello-workflow:
|
||||
jobs:
|
||||
- say-hello
|
||||
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:
|
||||
key: cache-{{ checksum "circleci/cache-key" }}
|
||||
paths:
|
||||
- ~/build/wxWidgets/staticlib
|
||||
|
Loading…
Reference in New Issue
Block a user