lzw-assignment/.circleci/config.yml

26 lines
906 B
YAML
Raw Normal View History

2018-04-15 23:34:17 +00:00
version: 2
jobs:
build:
docker:
2018-04-16 00:38:14 +00:00
- image: rikosote/gcc-cmake:latest
2018-04-16 00:35:38 +00:00
# - image: madduci/docker-ubuntu-cpp:gcc-6
2018-04-16 00:24:52 +00:00
# - image: buildpack-deps:trusty
2018-04-15 23:34:17 +00:00
environment:
2018-04-16 00:35:38 +00:00
- PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2018-04-15 23:34:17 +00:00
steps:
2018-04-15 23:39:00 +00:00
- checkout
2018-04-16 00:14:27 +00:00
- run: gcc --version
2018-04-16 00:26:17 +00:00
- run: cmake --version
# - run: sudo apt-get install software-properties-common python-software-properties
# - run: sudo add-apt-repository -y ppa:jonathonf/gcc-7.1
# - run: sudo apt-get update
# - run: sudo apt-get install gcc-7 g++-7
2018-04-16 00:27:23 +00:00
- run:
name: Build cmake
command: |
cd ~ && wget --quiet https://cmake.org/files/v3.11/cmake-3.11.0-Linux-x86_64.tar.gz
tar -xvf cmake-3.11.0-Linux-x86_64.tar.gz
2018-04-16 00:01:35 +00:00
- run:
name: Build Project
command: cd build && cmake -DCMAKE_BUILD_TYPE=Debug .. && make -j