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 b51d676f1b - Show all commits

View File

@ -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 --help
file Unlinker
./Linker --help