mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-28 07:48:06 +00:00
Removed biicode from repo.
Change-Id: I8b517fb8eaf02772052d95ca55bdaa0efbffa65a
This commit is contained in:
10
.travis.yml
10
.travis.yml
@@ -39,11 +39,8 @@ matrix:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
matrix:
|
matrix:
|
||||||
- BUILD_TYPE=Debug BIICODE=false
|
- BUILD_TYPE=Debug
|
||||||
- BUILD_TYPE=Release BIICODE=false CONAN=true
|
- BUILD_TYPE=Release CONAN=true
|
||||||
# biicode .deb files no longer available.
|
|
||||||
# - BUILD_TYPE=Release BIICODE=true
|
|
||||||
# - BUILD_TYPE=Debug BIICODE=true
|
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi
|
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi
|
||||||
@@ -54,8 +51,7 @@ matrix:
|
|||||||
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo ln -s -v -f $(which gcc-$GCC_VERSION) /usr/bin/gcc; fi
|
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo ln -s -v -f $(which gcc-$GCC_VERSION) /usr/bin/gcc; fi
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- if [ "$BIICODE" == "false" ]; then cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE . && make && make test; fi
|
- cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE . && make && make test
|
||||||
- if [ "$BIICODE" == "true" ] && [ "$TRAVIS_OS_NAME" == "linux" ]; then ./biicode/support/bii-travis.sh $BUILD_TYPE; fi
|
|
||||||
- if [ "$CONAN" == "true" ] && [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo pip install conan && conan create . flatbuffers/testing -s build_type=$BUILD_TYPE; fi
|
- if [ "$CONAN" == "true" ] && [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo pip install conan && conan create . flatbuffers/testing -s build_type=$BUILD_TYPE; fi
|
||||||
|
|
||||||
- language: android
|
- language: android
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
# Biicode configuration file
|
|
||||||
[paths]
|
|
||||||
include
|
|
||||||
[mains]
|
|
||||||
!android/*
|
|
||||||
[tests]
|
|
||||||
tests/*
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
Biicode C/C++ dependency manager
|
|
||||||
=================================
|
|
||||||
|
|
||||||
[](https://www.biicode.com/fenix/flatbuffers)
|
|
||||||
|
|
||||||
New with biicode? Check the [Getting Started Guide](http://docs.biicode.com/c++/gettingstarted.html).
|
|
||||||
|
|
||||||
How to build it?
|
|
||||||
------------------
|
|
||||||
Building it is too easy:
|
|
||||||
|
|
||||||
$ git clone git@github.com:google/flatbuffers.git
|
|
||||||
$ cd flatbuffers
|
|
||||||
$ bii init -L && bii build
|
|
||||||
$ ./bin/any_executable
|
|
||||||
|
|
||||||
Or run its tests:
|
|
||||||
|
|
||||||
$ bii test
|
|
||||||
|
|
||||||
You can check [the examples/flatbuffers block](https://www.biicode.com/examples/flatbuffers).
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
set(BII_TESTS_WORKING_DIR ${CMAKE_CURRENT_SOURCE_DIR})
|
|
||||||
# Copying data files to project/bin folder
|
|
||||||
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/samples")
|
|
||||||
file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/samples/monster.fbs"
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/samples/monsterdata.json"
|
|
||||||
DESTINATION
|
|
||||||
"${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/samples")
|
|
||||||
endif()
|
|
||||||
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/tests")
|
|
||||||
file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/tests"
|
|
||||||
DESTINATION
|
|
||||||
"${CMAKE_RUNTIME_OUTPUT_DIRECTORY}")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
ADD_BIICODE_TARGETS()
|
|
||||||
|
|
||||||
string(REPLACE " " ";" REPLACED_FLAGS ${CMAKE_CXX_FLAGS})
|
|
||||||
target_compile_options(${BII_BLOCK_TARGET} INTERFACE ${REPLACED_FLAGS})
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
#
|
|
||||||
# Copyright 2016 Google Inc. All rights reserved.
|
|
||||||
#
|
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
|
|
||||||
sudo apt-get update -qq
|
|
||||||
sudo apt-get install libglu1-mesa-dev xorg-dev
|
|
||||||
wget http://www.biicode.com/downloads/latest/ubuntu64
|
|
||||||
mv ubuntu64 bii-ubuntu64.deb
|
|
||||||
(sudo dpkg -i bii-ubuntu64.deb) && sudo apt-get -f install
|
|
||||||
rm bii-ubuntu64.deb
|
|
||||||
wget https://s3.amazonaws.com/biibinaries/thirdparty/cmake-3.0.2-Linux-64.tar.gz
|
|
||||||
tar -xzf cmake-3.0.2-Linux-64.tar.gz
|
|
||||||
sudo cp -fR cmake-3.0.2-Linux-64/* /usr
|
|
||||||
rm -rf cmake-3.0.2-Linux-64
|
|
||||||
rm cmake-3.0.2-Linux-64.tar.gz
|
|
||||||
|
|
||||||
cmake --version
|
|
||||||
bii init -l && bii configure -DCMAKE_BUILD_TYPE=$1 && bii test
|
|
||||||
Reference in New Issue
Block a user