mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-13 17:43:56 +00:00
fixed shared object suffx for 64bits linux extension
This commit is contained in:
54
.github/workflows/pack_early.yaml
vendored
54
.github/workflows/pack_early.yaml
vendored
@@ -1,35 +1,35 @@
|
|||||||
name: Pack_beta
|
name: Publish
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
pull_request:
|
||||||
branches: [monorepo]
|
branches: [ main ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
package_application:
|
package_application:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- name: set up JDK 11
|
- name: set up JDK 11
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
java-version: '17'
|
java-version: '17'
|
||||||
distribution: 'zulu'
|
distribution: 'zulu'
|
||||||
cache: gradle
|
cache: gradle
|
||||||
|
|
||||||
- name: Grant execute permission for gradlew
|
- name: Grant execute permission for gradlew
|
||||||
run: chmod +x gradlew
|
run: chmod +x gradlew
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
run: ./gradlew assembleDebug
|
run: ./gradlew assembleDebug
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: simtak
|
name: simtak
|
||||||
path: app/build/outputs/apk/debug/app-debug.apk
|
path: app/build/outputs/apk/debug/app-debug.apk
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
retention-days: 1
|
retention-days: 1
|
||||||
|
|
||||||
build_extension:
|
build_extension:
|
||||||
strategy:
|
strategy:
|
||||||
@@ -87,7 +87,7 @@ jobs:
|
|||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: x86_64-unknown-linux-gnu
|
name: x86_64-unknown-linux-gnu
|
||||||
- run: mv ./libarmatak.so ./armatak.so
|
- run: mv ./libarmatak.so ./armatak_x64.so
|
||||||
- name: Download Android Application Installer
|
- name: Download Android Application Installer
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
2
.github/workflows/publish.yaml
vendored
2
.github/workflows/publish.yaml
vendored
@@ -87,7 +87,7 @@ jobs:
|
|||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: x86_64-unknown-linux-gnu
|
name: x86_64-unknown-linux-gnu
|
||||||
- run: mv ./libarmatak.so ./armatak.so
|
- run: mv ./libarmatak.so ./armatak_x64.so
|
||||||
- name: Download Android Application Installer
|
- name: Download Android Application Installer
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
// function description: Receives a player's unit as param and return the information array for SIMTAK
|
// function description: Receives a player's unit as param and return the information array for SIMTAK
|
||||||
|
|
||||||
params["_unit"];
|
params["_unit"];
|
||||||
|
|
||||||
private _location = (getPos _unit) call armatak_fnc_convert_location;
|
private _location = (getPos _unit) call armatak_fnc_convert_location;
|
||||||
|
|
||||||
private _atak_latitude = _location select 0;
|
private _atak_latitude = _location select 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user