Skip to content

Commit

Permalink
Merge pull request #178 from 3MFConsortium/release/2.0.0
Browse files Browse the repository at this point in the history
release/2.0.0
  • Loading branch information
martinweismann authored Sep 26, 2019
2 parents ff914b9 + afb02a2 commit fd07e57
Show file tree
Hide file tree
Showing 699 changed files with 28,454 additions and 32,880 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ build
build_32bit
lib3MF.pc
Include/Model/COM/NMR_COMVersion.h
debug
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "googletest"]
path = UnitTests/googletest
[submodule "Tests/googletest"]
path = Tests/googletest
url = https://github.com/google/googletest.git
21 changes: 21 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# .readthedocs.yml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: Documentation/conf.py

# Optionally build your docs in additional formats such as PDF and ePub
formats:
- epub
- pdf
- htmlzip

python:
version: 3.7
install:
- requirements: Documentation/requirements.txt
25 changes: 19 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,22 @@
# to generate the build-status-icon in the main README.md-file.

language: cpp
sudo: required
services:
- docker

matrix:
include:
- os: linux
compiler: gcc
env: BUILDMODE=cmake-make
- os: osx
osx_image: xcode7.2
env: BUILDMODE=cmake-make
- os: linux
env: BUILDMODE=ppcxenial
- os: linux
dist: trusty
compiler: x86_64-w64-mingw32-g++
env: BUILDMODE=cmake-mingw32
addons:
Expand All @@ -24,11 +32,16 @@ matrix:
- g++-mingw-w64-x86-64

before_script:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then HOMEBREW_NO_AUTO_UPDATE=1 brew install ossp-uuid ; fi
- if [[ "$BUILDMODE" = "cmake-mingw32" ]]; then sh cmake/GenerateMinGW.sh ; else sh cmake/GenerateMake.sh ; fi
- cd build
- if [[ "$BUILDMODE" = "cmake-mingw32" ]]; then sh cmake/GenerateMinGW.sh; cd build; fi
- if [[ "$BUILDMODE" = "cmake-make" ]]; then sh cmake/GenerateMake.sh; cd build; fi
- if [[ "$BUILDMODE" = "ppcxenial" ]]; then
docker pull multiarch/qemu-user-static ;
docker pull multiarch/ubuntu-debootstrap:powerpc-xenial ;
docker run --rm --privileged multiarch/qemu-user-static --reset -p y ;
docker build -t ppc-xenial -f CI/Dockerfile . ;
fi

script:
- cmake --build .
- if ![[ "$BUILDMODE" = "cmake-mingw32" ]]; then ctest -V ; fi

- if [[ "$BUILDMODE" != "ppcxenial" ]]; then cmake --build . ; fi
- if [[ "$BUILDMODE" == "cmake-make" ]]; then ctest -V ; fi
- if [[ "$BUILDMODE" == "ppcxenial" ]]; then docker run ppc-xenial; fi
1 change: 1 addition & 0 deletions AutomaticComponentToolkit/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*_component*
Binary file added AutomaticComponentToolkit/bin/act.darwin
Binary file not shown.
Binary file added AutomaticComponentToolkit/bin/act.exe
Binary file not shown.
Binary file added AutomaticComponentToolkit/bin/act.linux
Binary file not shown.
1,351 changes: 1,351 additions & 0 deletions AutomaticComponentToolkit/lib3mf.xml

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions CI/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM martinweismann/lib3mf_ppcbuilds:latest
ADD . lib3mf-repo
ADD CI/script.sh script.sh
ENTRYPOINT ["sh", "script.sh"]
7 changes: 7 additions & 0 deletions CI/script.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh

cd lib3mf-repo
sh cmake/GenerateMake.sh
cd build
make -j2
ctest -V .
Loading

0 comments on commit fd07e57

Please sign in to comment.