build: add CI (using Docker) #2

Merged
Future merged 57 commits from build/ci-docker into main 2024-03-26 18:18:35 +00:00
Showing only changes of commit c1f3defed9 - Show all commits

View File

@ -29,12 +29,14 @@ 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" /usr/local/bin/
chmod +x /usr/local/bin/Linker /usr/local/bin/Unlinker
cp "${TEMP_DIR}/Linker" "${TEMP_DIR}/Unlinker" .
chmod +x Linker Unlinker
# Clean up temporary directory
rm -rf "$TEMP_DIR"
echo "OpenAssetTools version $OAT_VERSION has been installed."
Linker --help
file Linker
file Unlinker
./Linker --help