forked from TorqueGameEngines/Torque3D
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request TorqueGameEngines#826 from Ragora/adjustment-bulle…
…t-update Adjustment: Update Bullet version to 3.24
- Loading branch information
Showing
6,148 changed files
with
2,080,370 additions
and
56,829 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
TRAVIS_OS_NAME | ||
TRAVIS_PULL_REQUEST | ||
|
||
BUILD_NAME | ||
CC | ||
CXX | ||
SUDO |
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,19 @@ | ||
FROM ubuntu:bionic | ||
|
||
RUN apt-get update -qq | ||
RUN apt-get install -y \ | ||
build-essential \ | ||
clang \ | ||
cmake \ | ||
curl \ | ||
git \ | ||
libgl-dev \ | ||
libglu-dev \ | ||
libpython3-dev \ | ||
lsb-release \ | ||
pkg-config \ | ||
python3 \ | ||
python3-dev \ | ||
python3-distutils \ | ||
software-properties-common \ | ||
sudo |
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,18 @@ | ||
FROM ubuntu:xenial | ||
|
||
RUN apt-get update -qq | ||
RUN apt-get install -y \ | ||
build-essential \ | ||
clang \ | ||
cmake \ | ||
curl \ | ||
git \ | ||
libgl-dev \ | ||
libglu-dev \ | ||
libpython3-dev \ | ||
lsb-release \ | ||
pkg-config \ | ||
python3 \ | ||
python3-dev \ | ||
software-properties-common \ | ||
sudo |
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,31 @@ | ||
#!/usr/bin/env bash | ||
set -ex | ||
|
||
echo "CXX="$CXX | ||
echo "CC="$CC | ||
if [[ "$TRAVIS_OS_NAME" == "linux" && "$CXX" = "g++" ]]; then | ||
$SUDO apt-get update | ||
$SUDO apt-get install -y python3 | ||
$SUDO apt-get install -y python3-pip | ||
$SUDO apt-get install python3-dev | ||
$SUDO pip3 install -U wheel | ||
$SUDO pip3 install -U setuptools | ||
python3 setup.py install --user | ||
python3 examples/pybullet/unittests/unittests.py --verbose | ||
python3 examples/pybullet/unittests/userDataTest.py --verbose | ||
python3 examples/pybullet/unittests/saveRestoreStateTest.py --verbose | ||
fi | ||
cmake . -DBUILD_PYBULLET=ON -G"Unix Makefiles" #-DCMAKE_CXX_FLAGS=-Werror | ||
make -j8 | ||
ctest -j8 --output-on-failure | ||
|
||
# Build again with double precision | ||
cmake . -G "Unix Makefiles" -DUSE_DOUBLE_PRECISION=ON #-DCMAKE_CXX_FLAGS=-Werror | ||
make -j8 | ||
ctest -j8 --output-on-failure | ||
|
||
# Build again with shared libraries | ||
cmake . -G "Unix Makefiles" -DBUILD_SHARED_LIBS=ON | ||
make -j8 | ||
ctest -j8 --output-on-failure | ||
$SUDO make install |
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,38 @@ | ||
name: CMake | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
env: | ||
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) | ||
BUILD_TYPE: Release | ||
|
||
jobs: | ||
build: | ||
# The CMake configure and build commands are platform agnostic and should work equally | ||
# well on Windows or Mac. You can convert this to a matrix build if you need | ||
# cross-platform coverage. | ||
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Configure CMake | ||
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. | ||
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type | ||
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} | ||
|
||
- name: Build | ||
# Build your program with the given configuration | ||
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} | ||
|
||
- name: Test | ||
working-directory: ${{github.workspace}}/build | ||
# Execute tests defined by the CMake configuration. | ||
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail | ||
run: ctest -C ${{env.BUILD_TYPE}} | ||
|
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,42 @@ | ||
/bin | ||
/build3/gmake | ||
/build3/vs2010 | ||
/build_cmake/ | ||
|
||
*.pyc | ||
|
||
# Python | ||
__pycache__/ | ||
*.py[cod] | ||
|
||
# Pip | ||
pip-selfcheck.json | ||
*.whl | ||
*.egg | ||
*.egg-info | ||
|
||
# Setuptools | ||
/build | ||
/dist | ||
*.eggs | ||
|
||
# CMake | ||
CMakeFiles/ | ||
CMakeCache.txt | ||
cmake_install.cmake | ||
CTestTestFile.cmake | ||
|
||
# Visual Studio build files | ||
*.vcxproj | ||
*.vcxproj.filters | ||
*.sln | ||
|
||
# Apple Finder metadata | ||
*.DS_Store | ||
|
||
# vim temp files | ||
*.swp | ||
|
||
.vscode/ | ||
.idea/ | ||
cmake-build-debug/ |
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,5 @@ | ||
[style] | ||
based_on_style = google | ||
column_limit = 99 | ||
indent_width = 2 | ||
|
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
Oops, something went wrong.