Trying GPT-4 auto conversion from travis-ci yml

This commit is contained in:
Charles J. Cliffe 2023-03-28 21:31:34 -04:00 committed by GitHub
parent 50370cc74b
commit 41d27ad357
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 27 additions and 20 deletions

View File

@ -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 version: 2.1
# Define a job to be invoked later in a workflow.
# See: https://circleci.com/docs/2.0/configuration-reference/#jobs
jobs: jobs:
say-hello: build:
# 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
docker: docker:
- image: cimg/base:stable - image: circleci/buildpack-deps:trusty
# Add steps to the job environment:
# See: https://circleci.com/docs/2.0/configuration-reference/#steps - CACHE_DIR: ~/build/wxWidgets/staticlib
steps: steps:
- checkout - checkout
- restore_cache:
keys:
- cache-{{ checksum "circleci/cache-key" }}
- run: - run:
name: "Say hello" name: Install Dependencies
command: "echo Hello, World!" command: |
sudo apt-get update
# Invoke jobs via workflows sudo apt-get install -y libpulse-dev libgtk-3-dev freeglut3 freeglut3-dev libhamlib-dev
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows - run:
workflows: name: Build LiquidDSP
say-hello-workflow: command: bash travis-ci/build_liquiddsp.sh
jobs: - run:
- say-hello 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