Compare commits

...

48 Commits

Author SHA1 Message Date
46bb826a5d build: more docker tests
Some checks failed
link / Link assets on Linux (push) Failing after 33s
2024-03-26 18:36:07 +01:00
b51d676f1b build: more docker tests 2024-03-26 18:20:54 +01:00
c1f3defed9 build: more docker tests
Some checks failed
link / Link assets on Linux (push) Failing after 24s
2024-03-26 18:19:00 +01:00
b226aaa33f build: more docker tests
Some checks failed
link / Link assets on Linux (push) Failing after 24s
2024-03-26 18:15:59 +01:00
f3a67a5140 build: more docker tests
Some checks failed
link / Link assets on Linux (push) Failing after 19s
2024-03-26 18:12:52 +01:00
284c2469fc build: more docker tests
Some checks failed
link / Link assets on Linux (push) Failing after 22s
2024-03-26 18:10:07 +01:00
460451d7d5 test
Some checks failed
link / Link assets on Linux (push) Failing after 19s
2024-03-26 18:07:22 +01:00
0018f1cb57 test
Some checks failed
link / Link assets on Linux (push) Failing after 22s
2024-03-26 18:06:43 +01:00
fd97b0231d test
Some checks failed
link / Link assets on Linux (push) Failing after 23s
2024-03-26 18:04:44 +01:00
91a7001435 typo
Some checks failed
link / Link assets on Linux (push) Failing after 19s
2024-03-26 18:03:49 +01:00
ad730ddd9d typo
Some checks failed
link / Link assets on Linux (push) Failing after 20s
2024-03-26 18:02:33 +01:00
75eaa11be0 Idid this lol ai sucks
Some checks failed
link / Link assets on Linux (push) Failing after 24s
2024-03-26 18:00:43 +01:00
88f617dae4 AI did this
Some checks failed
link / Link assets on Linux (push) Failing after 8s
2024-03-26 17:59:11 +01:00
f8a691269f AI did this
Some checks failed
link / Link assets on Linux (push) Failing after 8s
2024-03-26 17:58:36 +01:00
be6c18ef83 test env stuff
All checks were successful
link / Link assets on Linux (push) Successful in 8s
2024-03-26 17:50:05 +01:00
7a8e1918b9 test env stuff
Some checks failed
link / Link assets on Linux (push) Failing after 9s
2024-03-26 17:49:10 +01:00
15c0c204f2 test env stuff 2024-03-26 17:46:07 +01:00
5cbefecd27 test env stuff 2024-03-26 17:45:12 +01:00
3a5390a7dc second test
All checks were successful
link / Link assets on Linux (push) Successful in 7s
2024-03-26 17:39:10 +01:00
f9f511ebf4 balls
All checks were successful
link / Link assets on Linux (push) Successful in 7s
2024-03-26 17:37:23 +01:00
dea43a249d build: Testing AI theories
Some checks failed
link / Link assets on Linux (push) Failing after 41s
2024-03-25 23:30:20 +01:00
c561e199ac build: Testing AI theories
All checks were successful
link / Link assets on Linux (push) Successful in 40s
2024-03-25 23:27:36 +01:00
d72c157377 build: Testing AI theories
Some checks failed
link / Link assets on Linux (push) Failing after 41s
2024-03-25 23:26:18 +01:00
48c8b4d8c7 build: Testing AI theories
Some checks failed
link / Link assets on Linux (push) Failing after 41s
2024-03-25 23:24:22 +01:00
abad35f410 build: Testing AI theories
Some checks failed
link / Link assets on Linux (push) Failing after 39s
2024-03-25 23:22:58 +01:00
6cc8823505 build: Testing AI theories
Some checks failed
link / Link assets on Linux (push) Failing after 40s
2024-03-25 23:22:15 +01:00
ddbb7d5030 build: maybe now IT SHOWS???
Some checks failed
link / Link assets on Linux (push) Failing after 42s
2024-03-25 23:19:47 +01:00
87c5859ef8 build: maybe now IT SHOWS???
Some checks failed
link / Link assets on Linux (push) Failing after 40s
2024-03-25 23:17:31 +01:00
77846aa874 build: maybe now IT SHOWS???
Some checks failed
link / Link assets on Linux (push) Failing after 42s
2024-03-25 23:15:47 +01:00
ddc87eaea1 build: maybe now?
Some checks failed
link / Link assets on Linux (push) Failing after 42s
2024-03-25 23:13:14 +01:00
11b3b3f9d7 build: maybe now?
Some checks failed
link / Link assets on Linux (push) Failing after 10s
2024-03-25 23:11:38 +01:00
974b3175be build: maybe now?
Some checks failed
link / Link assets on Linux (push) Failing after 9s
2024-03-25 23:10:12 +01:00
01838dbc9c build: maybe now?
Some checks failed
link / Link assets on Linux (push) Failing after 9s
2024-03-25 23:08:41 +01:00
156c7dbd5d build: maybe now?
Some checks failed
link / Link assets on Linux (push) Failing after 9s
2024-03-25 23:07:47 +01:00
5888cb589b build: maybe now?
Some checks failed
link / Link assets on Linux (push) Failing after 9s
2024-03-25 23:07:06 +01:00
04de54ce83 build: maybe now?
Some checks failed
link / Link assets on Linux (push) Failing after 9s
2024-03-25 23:06:32 +01:00
3ec6bc8961 build: bruh
Some checks failed
link / Link assets on Linux (push) Failing after 8s
2024-03-25 23:05:42 +01:00
bbdfc07340 build: bruh
Some checks failed
link / Link assets on Linux (push) Failing after 9s
2024-03-25 23:04:45 +01:00
12a945915c build: bruh
Some checks failed
link / Link assets on Linux (push) Failing after 10s
2024-03-25 23:03:49 +01:00
68b1297f46 build: go back to this method?
Some checks failed
link / Link assets on Linux (push) Failing after 10s
2024-03-25 23:02:54 +01:00
f38a566009 build: test test
All checks were successful
link / Link assets on Linux (push) Successful in 47s
2024-03-25 22:59:49 +01:00
33d5efd6ee build: I cant copy paste from myself it seems
Some checks failed
link / Link assets on Linux (push) Failing after 40s
2024-03-25 22:57:30 +01:00
3fc1614224 build: I try AI stuff again + copy pasted from myself
Some checks failed
link / Link assets on Linux (push) Has been cancelled
2024-03-25 22:57:01 +01:00
c286a77df3 build: I test AI shit now (my mistake)
Some checks failed
link / Link assets on Linux (push) Failing after 42s
2024-03-25 22:53:30 +01:00
415bec7067 build: I test AI shit now (2)
Some checks failed
link / Link assets on Linux (push) Failing after 40s
2024-03-25 22:52:33 +01:00
270d69b6f3 build: I test AI shit now
Some checks failed
link / Link assets on Linux (push) Failing after 42s
2024-03-25 22:49:16 +01:00
87cdfc6f60 build: I let the AI do this one
Some checks failed
link / Link assets on Linux (push) Failing after 42s
2024-03-25 22:47:48 +01:00
50b3049c93 build: test out cursed CI
Some checks failed
link / Link assets on Linux (push) Failing after 53s
2024-03-25 22:43:13 +01:00
4 changed files with 81 additions and 0 deletions

40
.gitea/scripts/ci.sh Executable file
View File

@ -0,0 +1,40 @@
#!/bin/bash
# Validate OAT version
if [[ -z "$OAT_VERSION" ]]; then
echo "No OAT version was specified, please set the OAT_VERSION environment variable."
exit 1
fi
# Make sure we have cURL (and file for debugging)
dpkg --add-architecture i386
apt-get update
apt-get install -y curl file libstdc++-13-dev:i386
# Construct the download URL
DOWNLOAD_URL="https://github.com/Laupetin/OpenAssetTools/releases/download/v${OAT_VERSION}/oat-linux.tar.gz"
echo "Downloading OAT from: $DOWNLOAD_URL"
# Define temporary directory
TEMP_DIR="/tmp/oat_download"
# Create temporary directory if it doesn't exist
mkdir -p "$TEMP_DIR"
# Download the tar.gz file to the temporary directory
curl -L -o "${TEMP_DIR}/oat-linux.tar.gz" "$DOWNLOAD_URL"
# Extract the contents of the tar.gz file
tar -xzf "${TEMP_DIR}/oat-linux.tar.gz" -C "${TEMP_DIR}"
# Copy the executables to /usr/local/bin and make them executable
cp "${TEMP_DIR}/Linker" "${TEMP_DIR}/Unlinker" /usr/local/bin/
chmod +x /usr/local/bin/Linker /usr/local/bin/Unlinker
# Clean up temporary directory
rm -rf "$TEMP_DIR"
echo "OpenAssetTools version $OAT_VERSION has been installed."
Linker -v --load "deps/iw5-zones/zone/english/code_post_gfx_mp.ff" --menu-permissive --menu-no-optimization code_post_gfx_mp

37
.gitea/workflows/link.yml Normal file
View File

@ -0,0 +1,37 @@
name: link
on: [push]
env:
OAT_VERSION: "0.10.0"
jobs:
link-linux:
name: Link assets on Linux
runs-on: ubuntu-latest
steps:
- name: Check out files
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
# NOTE - If LFS ever starts getting used for storing zones, switch this to true!
lfs: false
- name: Test Docker
uses: addnab/docker-run-action@v3
with:
image: ubuntu:noble
options: --volumes-from=${{ env.JOB_CONTAINER_NAME }}
run: |
cd ${{ github.workspace }}
export OAT_VERSION=${{ env.OAT_VERSION }}
./.gitea/scripts/ci.sh
- name: Upload assets
uses: actions/upload-artifact@v3
with:
name: assets
path: |
zone_out/code_post_gfx_mp/code_post_gfx_mp.ff

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "deps/iw5-zones"]
path = deps/iw5-zones
url = https://git.alterware.dev/AlterWare/iw5-zones.git

1
deps/iw5-zones vendored Submodule

Submodule deps/iw5-zones added at bd78584a7e