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) # Make sure we have cURL (and file for debugging)
dpkg --add-architecture i386 dpkg --add-architecture i386
apt-get update apt-get update
apt-get install -y curl file apt-get install -y curl file libstdc++-13-dev:i386
# Construct the download URL # Construct the download URL
DOWNLOAD_URL="https://github.com/Laupetin/OpenAssetTools/releases/download/v${OAT_VERSION}/oat-linux.tar.gz" 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}" tar -xzf "${TEMP_DIR}/oat-linux.tar.gz" -C "${TEMP_DIR}"
# Copy the executables to /usr/local/bin and make them executable # Copy the executables to /usr/local/bin and make them executable
cp "${TEMP_DIR}/Linker" "${TEMP_DIR}/Unlinker" . cp "${TEMP_DIR}/Linker" "${TEMP_DIR}/Unlinker" /usr/local/bin/
chmod +x Linker Unlinker chmod +x /usr/local/bin/Linker /usr/local/bin/Unlinker
# Clean up temporary directory # Clean up temporary directory
rm -rf "$TEMP_DIR" rm -rf "$TEMP_DIR"
echo "OpenAssetTools version $OAT_VERSION has been installed." echo "OpenAssetTools version $OAT_VERSION has been installed."
file Linker Linker -v --load "deps/iw5-zones/zone/english/code_post_gfx_mp.ff" --menu-permissive --menu-no-optimization code_post_gfx_mp
file Unlinker
./Linker --help

View File

@ -3,7 +3,7 @@ name: link
on: [push] on: [push]
env: env:
OAT_VERSION: "0.8.3" OAT_VERSION: "0.10.0"
jobs: jobs:
link-linux: link-linux:
@ -28,3 +28,10 @@ jobs:
cd ${{ github.workspace }} cd ${{ github.workspace }}
export OAT_VERSION=${{ env.OAT_VERSION }} export OAT_VERSION=${{ env.OAT_VERSION }}
./.gitea/scripts/ci.sh ./.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