Update build.yml
This commit is contained in:
parent
799c4987f9
commit
b84f5ca6c9
1 changed files with 5 additions and 0 deletions
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
|
|
@ -75,6 +75,11 @@ jobs:
|
||||||
curl -Lso raylib.zip https://github.com/raysan5/raylib/archive/refs/tags/${version}.zip
|
curl -Lso raylib.zip https://github.com/raysan5/raylib/archive/refs/tags/${version}.zip
|
||||||
unzip -qq raylib.zip
|
unzip -qq raylib.zip
|
||||||
pushd raylib-${version}; patch -p1 < ../Examples.Android/android.patch; popd
|
pushd raylib-${version}; patch -p1 < ../Examples.Android/android.patch; popd
|
||||||
|
if [ "${{ matrix.arch }}" == "armeabi-v7a" ]; then
|
||||||
|
export CFLAGS="$CFLAGS -mfloat-abi=softfp -mfpu=vfpv3-d16"
|
||||||
|
elif [ "${{ matrix.arch }}" == "arm64-v8a" ]; then
|
||||||
|
export CFLAGS="$CFLAGS -mfix-cortex-a53-835769"
|
||||||
|
fi
|
||||||
cmake -S raylib-${version} \
|
cmake -S raylib-${version} \
|
||||||
-B build \
|
-B build \
|
||||||
-D CMAKE_BUILD_TYPE=Release \
|
-D CMAKE_BUILD_TYPE=Release \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue