Update MacOS build: removed 32 bit support (since deprecated by apple). Update bullet library to the current master branch (needed for compatibility patch with recent clang).
This commit is contained in:
parent
663c9776e8
commit
128e079a22
20
.github/workflows/main.yml
vendored
20
.github/workflows/main.yml
vendored
@ -114,14 +114,14 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-18.04,windows-2019,macOS-10.14]
|
os: [ubuntu-18.04,windows-2019,macOS-latest]
|
||||||
jdk: [8.x.x]
|
jdk: [8.x.x]
|
||||||
include:
|
include:
|
||||||
- os: ubuntu-18.04
|
- os: ubuntu-18.04
|
||||||
osName: linux
|
osName: linux
|
||||||
- os: windows-2019
|
- os: windows-2019
|
||||||
osName: windows
|
osName: windows
|
||||||
- os: macOS-10.14
|
- os: macOS-latest
|
||||||
osName: mac
|
osName: mac
|
||||||
|
|
||||||
name: Build natives for ${{ matrix.osName }}
|
name: Build natives for ${{ matrix.osName }}
|
||||||
@ -148,18 +148,6 @@ jobs:
|
|||||||
if [ "$OS_NAME" = "mac" ];
|
if [ "$OS_NAME" = "mac" ];
|
||||||
then
|
then
|
||||||
echo "Prepare mac"
|
echo "Prepare mac"
|
||||||
# We need this older version to compile for 32bit...
|
|
||||||
sudo xcode-select -switch /Applications/Xcode_9.4.1.app
|
|
||||||
|
|
||||||
# ghetto fix for expired certificate (still safer than -allowUntrusted)
|
|
||||||
cdate=`date +%m%d%H%M%y`
|
|
||||||
sudo date -u 1020000019
|
|
||||||
|
|
||||||
|
|
||||||
sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target /
|
|
||||||
|
|
||||||
# restore real date
|
|
||||||
sudo date -u "$cdate"
|
|
||||||
|
|
||||||
elif [ "$OS_NAME" = "linux" ];
|
elif [ "$OS_NAME" = "linux" ];
|
||||||
then
|
then
|
||||||
@ -191,7 +179,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-18.04,windows-2019,macOS-10.14]
|
os: [ubuntu-18.04,windows-2019,macOS-latest]
|
||||||
jdk: [8.x.x,11.x.x]
|
jdk: [8.x.x,11.x.x]
|
||||||
include:
|
include:
|
||||||
- os: ubuntu-18.04
|
- os: ubuntu-18.04
|
||||||
@ -199,7 +187,7 @@ jobs:
|
|||||||
deploy: true
|
deploy: true
|
||||||
- os: windows-2019
|
- os: windows-2019
|
||||||
osName: windows
|
osName: windows
|
||||||
- os: macOS-10.14
|
- os: macOS-latest
|
||||||
osName: mac
|
osName: mac
|
||||||
- jdk: 11.x.x
|
- jdk: 11.x.x
|
||||||
deploy: false
|
deploy: false
|
||||||
|
@ -14,7 +14,7 @@ buildJavaDoc = true
|
|||||||
buildNativeProjects = false
|
buildNativeProjects = false
|
||||||
buildAndroidExamples = false
|
buildAndroidExamples = false
|
||||||
|
|
||||||
buildForPlatforms = Linux64,Linux32,Windows64,Windows32,Mac64,Mac32
|
buildForPlatforms = Linux64,Linux32,Windows64,Windows32,Mac64
|
||||||
# Forcefully ignore prebuilt libraries
|
# Forcefully ignore prebuilt libraries
|
||||||
skipPrebuildLibraries=false
|
skipPrebuildLibraries=false
|
||||||
# Path to android NDK for building native libraries
|
# Path to android NDK for building native libraries
|
||||||
@ -22,8 +22,9 @@ skipPrebuildLibraries=false
|
|||||||
ndkPath = /opt/android-ndk-r16b
|
ndkPath = /opt/android-ndk-r16b
|
||||||
|
|
||||||
# Path for downloading native Bullet
|
# Path for downloading native Bullet
|
||||||
bulletUrl = https://github.com/bulletphysics/bullet3/archive/2.87.zip
|
# 2.88+
|
||||||
bulletFolder = bullet3-2.87
|
bulletUrl = https://github.com/bulletphysics/bullet3/archive/28039903b14c2aec28beff5b3609c9308b17e76a.zip
|
||||||
|
bulletFolder = bullet3-28039903b14c2aec28beff5b3609c9308b17e76a
|
||||||
bulletZipFile = bullet3.zip
|
bulletZipFile = bullet3.zip
|
||||||
|
|
||||||
# POM settings
|
# POM settings
|
||||||
|
@ -71,6 +71,7 @@ FILE_LIST := $(wildcard $(LOCAL_PATH)/*.cpp)
|
|||||||
FILE_LIST += $(wildcard $(LOCAL_PATH)/**/*.cpp)
|
FILE_LIST += $(wildcard $(LOCAL_PATH)/**/*.cpp)
|
||||||
FILE_LIST += $(wildcard $(LOCAL_PATH)/**/**/*.cpp)
|
FILE_LIST += $(wildcard $(LOCAL_PATH)/**/**/*.cpp)
|
||||||
FILE_LIST := $(filter-out $(wildcard $(LOCAL_PATH)/Bullet3OpenCL/**/*.cpp), $(FILE_LIST))
|
FILE_LIST := $(filter-out $(wildcard $(LOCAL_PATH)/Bullet3OpenCL/**/*.cpp), $(FILE_LIST))
|
||||||
|
FILE_LIST := $(filter-out $(wildcard $(LOCAL_PATH)/*All.cpp), $(FILE_LIST))
|
||||||
LOCAL_SRC_FILES := $(FILE_LIST:$(LOCAL_PATH)/%=%)
|
LOCAL_SRC_FILES := $(FILE_LIST:$(LOCAL_PATH)/%=%)
|
||||||
|
|
||||||
include $(BUILD_SHARED_LIBRARY)
|
include $(BUILD_SHARED_LIBRARY)
|
||||||
|
@ -37,7 +37,6 @@ model {
|
|||||||
"Windows64",
|
"Windows64",
|
||||||
"Windows32",
|
"Windows32",
|
||||||
"Mac64",
|
"Mac64",
|
||||||
"Mac32",
|
|
||||||
"Linux64",
|
"Linux64",
|
||||||
"Linux32",
|
"Linux32",
|
||||||
"LinuxArm",
|
"LinuxArm",
|
||||||
@ -71,6 +70,7 @@ model {
|
|||||||
exclude 'Bullet3OpenCL/**'
|
exclude 'Bullet3OpenCL/**'
|
||||||
exclude 'Bullet3Serialize/**'
|
exclude 'Bullet3Serialize/**'
|
||||||
include '**/*.cpp'
|
include '**/*.cpp'
|
||||||
|
exclude '**/*All.cpp'
|
||||||
}
|
}
|
||||||
exportedHeaders {
|
exportedHeaders {
|
||||||
srcDir 'src/native/cpp'
|
srcDir 'src/native/cpp'
|
||||||
@ -197,10 +197,6 @@ model {
|
|||||||
architecture "x86_64"
|
architecture "x86_64"
|
||||||
operatingSystem "windows"
|
operatingSystem "windows"
|
||||||
}
|
}
|
||||||
Mac32 {
|
|
||||||
architecture "x86"
|
|
||||||
operatingSystem "osx"
|
|
||||||
}
|
|
||||||
Mac64 {
|
Mac64 {
|
||||||
architecture "x86_64"
|
architecture "x86_64"
|
||||||
operatingSystem "osx"
|
operatingSystem "osx"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user