Compare commits
2 Commits
c1f3defed9
...
46bb826a5d
Author | SHA1 | Date | |
---|---|---|---|
46bb826a5d | |||
b51d676f1b |
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user