mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2026-04-27 13:11:42 +00:00
fix ci
This commit is contained in:
parent
28221b5f8a
commit
54ca32e8b9
3 changed files with 13 additions and 10 deletions
|
|
@ -29,7 +29,7 @@ jobs:
|
||||||
name: Install dependencies
|
name: Install dependencies
|
||||||
command: |
|
command: |
|
||||||
set -eux
|
set -eux
|
||||||
download_url="https://github.com/HaxeFoundation/haxe/releases/download/4.3.3/haxe-4.3.3-linux64.tar.gz"
|
download_url="https://github.com/HaxeFoundation/haxe/releases/download/4.3.4/haxe-4.3.4-linux64.tar.gz"
|
||||||
echo "Downloading [$download_url]..."
|
echo "Downloading [$download_url]..."
|
||||||
mkdir /tmp/haxe
|
mkdir /tmp/haxe
|
||||||
curl -fsSL --retry 3 --retry-delay 5 "$download_url" -o /tmp/haxe.tar.gz
|
curl -fsSL --retry 3 --retry-delay 5 "$download_url" -o /tmp/haxe.tar.gz
|
||||||
|
|
@ -66,11 +66,14 @@ jobs:
|
||||||
mkdir ~/deps
|
mkdir ~/deps
|
||||||
cd ~/deps
|
cd ~/deps
|
||||||
git clone https://github.com/RandomityGuy/hashlink
|
git clone https://github.com/RandomityGuy/hashlink
|
||||||
|
git clone https://github.com/RandomityGuy/hxDatachannel
|
||||||
haxelib git heaps https://github.com/RandomityGuy/heaps
|
haxelib git heaps https://github.com/RandomityGuy/heaps
|
||||||
haxelib dev hlopenal ~/deps/hashlink/libs/openal
|
haxelib dev hlopenal ~/deps/hashlink/libs/openal
|
||||||
haxelib dev hlsdl ~/deps/hashlink/libs/sdl
|
haxelib dev hlsdl ~/deps/hashlink/libs/sdl
|
||||||
haxelib dev hashlink ~/deps/hashlink/other/haxelib
|
haxelib dev hashlink ~/deps/hashlink/other/haxelib
|
||||||
haxelib git zyheaps https://github.com/rainyt/zyheaps
|
haxelib git zyheaps https://github.com/rainyt/zyheaps
|
||||||
|
haxelib install colyseus-websocket
|
||||||
|
haxelib dev datachannel ~/deps/hxDatachannel
|
||||||
- run:
|
- run:
|
||||||
name: Prepare directories
|
name: Prepare directories
|
||||||
command: |
|
command: |
|
||||||
|
|
@ -90,6 +93,8 @@ jobs:
|
||||||
command: |
|
command: |
|
||||||
export PATH=/tmp/haxe/:"$PATH"
|
export PATH=/tmp/haxe/:"$PATH"
|
||||||
cd ~/MBHaxe
|
cd ~/MBHaxe
|
||||||
|
sed -i '5i -lib datachannel' Export/android/app/src/main/build.hxml
|
||||||
|
sed -i '5i -lib colyseus-websocket' Export/android/app/src/main/build.hxml
|
||||||
haxe Export/android/app/src/main/build.hxml
|
haxe Export/android/app/src/main/build.hxml
|
||||||
mkdir -p Export/android/app/src/main/assets/data
|
mkdir -p Export/android/app/src/main/assets/data
|
||||||
cp -rf data/* Export/android/app/src/main/assets/data
|
cp -rf data/* Export/android/app/src/main/assets/data
|
||||||
|
|
|
||||||
|
|
@ -4,14 +4,13 @@
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="com.randomityguy.mbhaxe.mbp"
|
package="com.randomityguy.mbhaxe.mbp"
|
||||||
android:installLocation="auto"
|
android:installLocation="auto"
|
||||||
android:versionCode="1"
|
android:versionCode="2"
|
||||||
android:versionName="1.5.0">
|
android:versionName="1.6.0">
|
||||||
|
|
||||||
<!-- Tell the system this app requires OpenGL ES 3.0. -->
|
<!-- Tell the system this app requires OpenGL ES 3.0. -->
|
||||||
<uses-feature android:glEsVersion="0x00030000" android:required="true" />
|
<uses-feature android:glEsVersion="0x00030000" android:required="true" />
|
||||||
<uses-permission android:name="android.permission.INTERNET" />
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<application android:label="@string/app_name"
|
<application android:label="@string/app_name"
|
||||||
|
|
@ -27,7 +26,7 @@
|
||||||
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
|
||||||
android:exported="true"
|
android:exported="true"
|
||||||
android:screenOrientation="sensorLandscape"
|
android:screenOrientation="sensorLandscape"
|
||||||
>
|
>
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.MAIN" />
|
<action android:name="android.intent.action.MAIN" />
|
||||||
<category android:name="android.intent.category.LAUNCHER" />
|
<category android:name="android.intent.category.LAUNCHER" />
|
||||||
|
|
@ -35,4 +34,4 @@
|
||||||
</activity>
|
</activity>
|
||||||
</application>
|
</application>
|
||||||
|
|
||||||
</manifest>
|
</manifest>
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
#Sun Nov 21 12:46:43 PST 2021
|
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
Loading…
Add table
Reference in a new issue