Compare commits

...

2 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
2 changed files with 12 additions and 7 deletions

View File

@ -9,7 +9,7 @@ fi
# Make sure we have cURL (and file for debugging)
dpkg --add-architecture i386
apt-get update
apt-get install -y curl file
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"
@ -29,14 +29,12 @@ curl -L -o "${TEMP_DIR}/oat-linux.tar.gz" "$DOWNLOAD_URL"
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" .
chmod +x Linker Unlinker
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."
file Linker
file Unlinker
./Linker --help
Linker -v --load "deps/iw5-zones/zone/english/code_post_gfx_mp.ff" --menu-permissive --menu-no-optimization code_post_gfx_mp

View File

@ -3,7 +3,7 @@ name: link
on: [push]
env:
OAT_VERSION: "0.8.3"
OAT_VERSION: "0.10.0"
jobs:
link-linux:
@ -28,3 +28,10 @@ jobs:
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