-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merge branch 'develop' for new version 0.0.0
- Loading branch information
Showing
262 changed files
with
41,239 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
Oops, something went wrong.