2023-10-19 00:57:19 +00:00
|
|
|
# Use the latest 2.1 version of CircleCI pipeline process engine.
|
|
|
|
# See: https://circleci.com/docs/configuration-reference
|
|
|
|
version: 2.1
|
|
|
|
|
|
|
|
# Define a job to be invoked later in a workflow.
|
|
|
|
# See: https://circleci.com/docs/configuration-reference/#jobs
|
|
|
|
jobs:
|
|
|
|
ctest:
|
|
|
|
# Specify the execution environment. You can specify an image from Docker Hub or use one of our convenience images from CircleCI's Developer Hub.
|
|
|
|
# See: https://circleci.com/docs/configuration-reference/#executor-job
|
|
|
|
docker:
|
|
|
|
- image: git.wntrmute.dev/sc/dev:alpine
|
|
|
|
# Add steps to the job
|
|
|
|
# See: https://circleci.com/docs/configuration-reference/#steps
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run:
|
|
|
|
name: Setup cmake build
|
|
|
|
command: setup-cmake.sh
|
|
|
|
|
2023-10-20 05:04:15 +00:00
|
|
|
static_analysis:
|
|
|
|
docker:
|
|
|
|
- image: git.wntrmute.dev/sc/dev:alpine
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run:
|
|
|
|
- name: trunk check
|
|
|
|
command: ./trunk check
|
|
|
|
|
2023-10-19 00:57:19 +00:00
|
|
|
# Orchestrate jobs using workflows
|
|
|
|
# See: https://circleci.com/docs/configuration-reference/#workflows
|
|
|
|
workflows:
|
|
|
|
ctest:
|
|
|
|
jobs:
|
|
|
|
- ctest
|