Skip to content

Commit

Permalink
ss
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe-Abraham committed Oct 28, 2024
1 parent 2f28295 commit 0beecda
Showing 1 changed file with 0 additions and 38 deletions.
38 changes: 0 additions & 38 deletions .github/workflows/linux-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,44 +88,6 @@ jobs:
mv ./${MINIO_BINARY} /usr/local/bin/
fi
- name: Install Proxygen
run: |
FB_OS_VERSION="v2024.05.20.00"
PROXYGEN_BINARY="proxygen.tar.gz"
if [ ! -f /usr/local/bin/proxygen ]; then
wget https://github.com/facebook/proxygen/archive/refs/tags/${FB_OS_VERSION}.tar.gz -O ${PROXYGEN_BINARY}
# Extract the archive
tar -xzf ${PROXYGEN_BINARY}
# Check the actual directory name after extraction
DIR_NAME=$(tar -tf ${PROXYGEN_BINARY} | head -1 | cut -f1 -d"/")
# Verify that the directory exists before proceeding
if [ -d "${DIR_NAME}" ]; then
cd ${DIR_NAME}
# Build the project (adjust the build command as necessary)
if [ -f "./build.sh" ]; then
./build.sh
else
echo "build.sh not found, adjust the build command as needed."
exit 1
fi
# Make the binary executable and move to /usr/local/bin
chmod +x ./proxygen
mv ./proxygen /usr/local/bin/
# Clean up
cd ..
rm -rf ${DIR_NAME} ${PROXYGEN_BINARY}
else
echo "Directory ${DIR_NAME} not found after extraction."
exit 1
fi
fi
- uses: assignUser/stash/restore@v1
with:
path: '${{ env.CCACHE_DIR }}'
Expand Down

0 comments on commit 0beecda

Please sign in to comment.