mirror of
https://github.com/bkthomps/Containers.git
synced 2025-11-16 04:24:47 +00:00
Add continuous integration (#17)
This commit is contained in:
16
.circleci/config.yml
Normal file
16
.circleci/config.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
version: 2
|
||||
jobs:
|
||||
build_and_test:
|
||||
docker:
|
||||
- image: mickare/cmake-clang
|
||||
steps:
|
||||
- checkout
|
||||
- run: cmake -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - Unix Makefiles" .
|
||||
- run: cmake --build . --target Containers -- -j 2
|
||||
- run: ./Containers
|
||||
workflows:
|
||||
version: 2
|
||||
build_and_test:
|
||||
jobs:
|
||||
- build_and_test
|
||||
|
||||
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
.idea/*
|
||||
cmake-build-debug/*
|
||||
|
||||
22
CMakeLists.txt
Normal file
22
CMakeLists.txt
Normal file
@@ -0,0 +1,22 @@
|
||||
cmake_minimum_required(VERSION 3.5.1)
|
||||
project(Containers C)
|
||||
|
||||
set(CMAKE_C_STANDARD 11)
|
||||
|
||||
add_executable(Containers tst/test.c tst/test.h
|
||||
src/array.c src/array.h tst/array.c
|
||||
src/vector.c src/vector.h tst/vector.c
|
||||
src/deque.c src/deque.h tst/deque.c
|
||||
src/forward_list.c src/forward_list.h tst/forward_list.c
|
||||
src/list.c src/list.h tst/list.c
|
||||
src/set.c src/set.h tst/set.c
|
||||
src/map.c src/map.h tst/map.c
|
||||
src/multiset.c src/multiset.h tst/multiset.c
|
||||
src/multimap.c src/multimap.h tst/multimap.c
|
||||
src/unordered_set.c src/unordered_set.h tst/unordered_set.c
|
||||
src/unordered_map.c src/unordered_map.h tst/unordered_map.c
|
||||
src/unordered_multiset.c src/unordered_multiset.h tst/unordered_multiset.c
|
||||
src/unordered_multimap.c src/unordered_multimap.h tst/unordered_multimap.c
|
||||
src/stack.c src/stack.h tst/stack.c
|
||||
src/queue.c src/queue.h tst/queue.c
|
||||
src/priority_queue.c src/priority_queue.h tst/priority_queue.c)
|
||||
@@ -1,3 +1,5 @@
|
||||
[](https://circleci.com/gh/bkthomps/Containers/tree/master)
|
||||
|
||||
# Containers
|
||||
This library provides various containers. Each container has utility functions to manipulate the data it holds. This is an abstraction as to not have to manually manage and reallocate memory.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user