Skip to content

Instantly share code, notes, and snippets.

@mlcollard
Created December 2, 2020 14:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mlcollard/44887fbbc1eef24ac4080f9aef381325 to your computer and use it in GitHub Desktop.
Save mlcollard/44887fbbc1eef24ac4080f9aef381325 to your computer and use it in GitHub Desktop.
CircleCI configuration for build and packaging
# Build for SEComplexity
version: 2.1
jobs:
build:
docker:
- image: srcml/ubuntu_x86_64_base
steps:
- checkout
- run: apt update
- run: mkdir build
- run: cd build && cmake -DCMAKE_BUILD_TYPE=Release .. -G Ninja
- run: cd build && ninja && ninja install && ldconfig
- run: cd build && ninja run
- run: cd build && cpack -G DEB
- store_artifacts:
path: build/srccomplexity-1.0.0-Linux.deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment