mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-13 15:43:29 +00:00
added handling for deploy cannon in multiple extension types
This commit is contained in:
16
.github/workflows/pack_early.yaml
vendored
16
.github/workflows/pack_early.yaml
vendored
@@ -3,7 +3,7 @@ name: Pack_beta
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- dev
|
||||
- action
|
||||
pull_request:
|
||||
branches: [action]
|
||||
|
||||
@@ -12,9 +12,9 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
os_target:
|
||||
- { os: "windows-latest", target: "i686-pc-windows-msvc", artifact: "armatak.dll" }
|
||||
- { os: "windows-latest", target: "x86_64-pc-windows-msvc", artifact: "armatak_x64.dll" }
|
||||
- { os: "ubuntu-latest", target: "x86_64-unknown-linux-gnu", artifact: "armatak.so" }
|
||||
- { os: "windows-latest", target: "i686-pc-windows-msvc", artifact: "armatak.dll", name: "armatak.dll" }
|
||||
- { os: "windows-latest", target: "x86_64-pc-windows-msvc", artifact: "armatak.dll", name: "armatak_x64.dll" }
|
||||
- { os: "ubuntu-latest", target: "x86_64-unknown-linux-gnu", artifact: "libarmatak.so", name: "armatak.so" }
|
||||
runs-on: ${{ matrix.os_target.os }}
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
@@ -32,6 +32,8 @@ jobs:
|
||||
run: sudo apt-get update && sudo apt-get install -y build-essential
|
||||
- name: Cargo Build
|
||||
run: cargo build --release --target ${{ matrix.os_target.target }}
|
||||
- name: check stuff
|
||||
run: ls target/release
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
@@ -53,17 +55,17 @@ jobs:
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: x86_64-pc-windows-msvc
|
||||
- run: mv ./armatak_x64.dll ./target/release/armatak_x64.dll
|
||||
- run: ls
|
||||
- run: mv ./armatak.dll ./armatak_x64.dll
|
||||
- name: Download Windows x86 Artifact
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: i686-pc-windows-msvc
|
||||
- run: mv ./armatak.dll ./target/release/armatak.dll
|
||||
- name: Download Linux x64 Artifact
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: x86_64-unknown-linux-gnu
|
||||
- run: mv ./armatak.so ./target/release/armatak.so
|
||||
- run: mv ./libarmatak.so ./armatak.so
|
||||
- name: Setup HEMTT
|
||||
uses: arma-actions/hemtt@v1
|
||||
- name: Build
|
||||
|
||||
2
.gitignore
vendored
2
.gitignore
vendored
@@ -68,3 +68,5 @@ pids
|
||||
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
|
||||
|
||||
target/
|
||||
*.so
|
||||
*.dll
|
||||
@@ -1,14 +0,0 @@
|
||||
const DLL_NAME_32 = "armatak.dll";
|
||||
const DLL_NAME_64 = "armatak_x64.dll";
|
||||
const SO_NAME_32 = "armatak.so";
|
||||
const SO_NAME_64 = "armatak_x64.so";
|
||||
|
||||
let dllDir = HEMTT_RFS.join("target").join("release");
|
||||
let dll = dllDir.join(DLL_NAME_32);
|
||||
|
||||
if dllDir.exists() && dll.is_file() && dll.exists() {
|
||||
print("Adding x64 DLL file to Release");
|
||||
dll.copy(HEMTT_OUT.join(DLL_NAME_32));
|
||||
HEMTT_OUT.join(DLL_NAME_32).copy(HEMTT_OUT.join(DLL_NAME_64));
|
||||
print("Added x64 DLL file to Release");
|
||||
};
|
||||
BIN
.hemtt/missions/atak_test_malden.Malden/mission.sqm
Normal file
BIN
.hemtt/missions/atak_test_malden.Malden/mission.sqm
Normal file
Binary file not shown.
@@ -23,8 +23,8 @@ exclude = [
|
||||
|
||||
include = [
|
||||
"LICENSE",
|
||||
"*/*.dll",
|
||||
"*/*.so",
|
||||
"*.dll",
|
||||
"*.so",
|
||||
"*.paa"
|
||||
]
|
||||
|
||||
@@ -42,6 +42,7 @@ workshop = [
|
||||
"623475643", # 3den enhanced
|
||||
"1779063631" # Zeus enhanced
|
||||
]
|
||||
mission = "atak_test_malden.Malden"
|
||||
|
||||
parameters = [
|
||||
"-skipIntro",
|
||||
|
||||
Reference in New Issue
Block a user