fixed shared object suffx for 64bits linux extension

This commit is contained in:
Valmo Trindade
2025-01-04 22:19:02 -03:00
parent d55e898127
commit fc975f53ce
3 changed files with 30 additions and 29 deletions

View File

@@ -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:

View File

@@ -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:

View File

@@ -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;