Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 0 additions & 62 deletions .github/workflows/pr-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -180,68 +180,6 @@ jobs:
# ===================== WHEEL JOBS =====================


wheel_build_py39:
needs: build_info
if: ${{ success() }}
runs-on: ${{ github.event_name == 'pull_request' && 'ubuntu-24.04-ppc64le-p10' || inputs.large-runner }}
continue-on-error: true
env:
GHA_CURRENCY_SERVICE_ID_API_KEY: ${{ secrets.GHA_CURRENCY_SERVICE_ID_API_KEY }}
GHA_CURRENCY_SERVICE_ID: ${{ secrets.GHA_CURRENCY_SERVICE_ID }}
PYTHON_VERSION: "3.9"

steps:
- name: Checkout code
uses: actions/checkout@v6
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}

- name: Install system dependencies
run: |
sudo apt update -y

- name: Download package-cache from previous step
uses: actions/download-artifact@v7
with:
name: package-cache

- name: Extract package cache
run: tar -xzf package-cache.tar.gz

- name: Run build_wheels.sh
run: |
ls
echo "---------------------updated cache-----------------------"
ls package-cache

chmod +x package-cache/variable.sh
chmod +x package-cache/scanner-env.sh
source package-cache/variable.sh
source package-cache/scanner-env.sh

# CONTROL FLAG HERE
if [ "$WHEEL_BUILD" != "true" ]; then
echo "Skipping wheel build as WHEEL_BUILD=false"
exit 0
fi

# Check if any .sh build script is modified in this package
BUILD_SCRIPT_CHANGED=$(echo "$CHANGED_FILES" | grep -E "^$PACKAGE_DIR/.*\.sh$" || true)

if [[ -z "$BUILD_SCRIPT_CHANGED" ]]; then
echo "Skipping wheel build as no .sh build script changes detected"
exit 0
fi

chmod +x ./gha-script/build_wheels.sh
bash ./gha-script/build_wheels.sh

echo "===========after execution =================="
sudo apt update -y
sudo lsb_release -a 2>/dev/null || echo "lsb_release not available"
sudo uname -a


wheel_build_py310:
needs: build_info
Expand Down
Loading