Skip to content

Commit

Permalink
merge branch 'develop' for new version 0.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Arrestier committed Apr 14, 2020
2 parents 7626f08 + 7ef080e commit ffe1e1c
Show file tree
Hide file tree
Showing 262 changed files with 41,239 additions and 3 deletions.
24 changes: 21 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@
*.sql
*.sqlite

# Doxygen files and xml #
######################
*.html
*.xml

# OS generated files #
######################
.DS_Store
Expand Down Expand Up @@ -76,13 +81,26 @@ aclocal.m4
compile
config.h.in
configure
*.make

# Clion Project files #
master/.idea/*
master/cmake-build-release/*
master/cmake-build-debug/*
#######################
.idea/
cmake-build-*/
configure.scan
depcomp
install-sh
missing
stamp-h1

# Temporary files
*~

# Content of these folders
/bin
/doc

# Unit tests generated files #
##############################
report/
*.info
47 changes: 47 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
stages:
- build
- test
build-typesafe:
stage: build
script:
- cd bin
- cmake .. -DCMAKE_BUILD_TYPE=Release -DTYPE_SAFE=ON
- cmake --build . --target spider2 -- -j$(nproc) VERBOSE=1
- rm -rf ../bin/*
- cmake .. -DCMAKE_BUILD_TYPE=Debug -DTYPE_SAFE=ON
- cmake --build . --target spider2 -- -j$(nproc) VERBOSE=1
build-release:
stage: build
script:
- cd bin
- cmake .. -DCMAKE_BUILD_TYPE=Release
- cmake --build . --target spider2 -- -j$(nproc) VERBOSE=1
build-debug:
stage: build
script:
- cd bin
- cmake .. -DCMAKE_BUILD_TYPE=Debug
- cmake --build . --target spider2 -- -j$(nproc) VERBOSE=1
artifacts:
paths:
- "bin"
test-allocator:
stage: test
script:
- ./scripts/linux/runTest.sh allocator
test-containers:
stage: test
script:
- ./scripts/linux/runTest.sh containers
test-expression:
stage: test
script:
- ./scripts/linux/runTest.sh expression
test-graph:
stage: test
script:
- ./scripts/linux/runTest.sh graph
test-math:
stage: test
script:
- ./scripts/linux/runTest.sh math
83 changes: 83 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
language: cpp

stages:
- Build
- Test
- Deploy

jobs:
include:
- stage: Build
os: linux
dist: xenial
compiler: gcc-7
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
- doxygen
env:
- GENERATOR="Unix Makefile"
- PATH=/opt/python/3.7.1/bin:$PATH
script:
- export CC=gcc-7
- export CXX=g++-7
- cd bin
- cmake .. -DCMAKE_BUILD_TYPE=Release -DTYPE_SAFE=ON -DBUILD_TESTING=OFF
- cmake --build . --target spider2 -- -j$(nproc)
- rm -rf ../bin/*
- cmake .. -DCMAKE_BUILD_TYPE=Debug -DTYPE_SAFE=ON -DBUILD_TESTING=OFF
- cmake --build . --target spider2 -- -j$(nproc)
- rm -rf ../bin/*
- cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF
- cmake --build . --target spider2 -- -j$(nproc)
- rm -rf ../bin/*
- cmake .. -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=OFF
- cmake --build . --target spider2 -- -j$(nproc)

- stage: Test
os: linux
dist: xenial
compiler: gcc-7
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
- doxygen
- gcovr
- lcov
env:
- GENERATOR="Unix Makefile"
- PATH=/opt/python/3.7.1/bin:$PATH
install:
- pip install gcovr
script:
- export CC=gcc-7
- export CXX=g++-7
- cd bin
- cmake .. -DCMAKE_BUILD_TYPE=Debug
- cmake --build . --target spider2 -- -j$(nproc)
- cd ..
- ./scripts/linux/runTest.sh all

- stage: Deploy
os: linux
dist: xenial
script:
- echo "Empty job"
before_deploy: "./scripts/linux/prepare_release_note.sh"
deploy:
- provider: releases
edge: true
token: $GITHUB_TOKEN
draft: true
release_notes_file: release_note.md
on:
repo: preesm/spider2
branch: master
tags: true

Loading

0 comments on commit ffe1e1c

Please sign in to comment.