diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0e932ef2f55adcecd1eee76b51151fae037c9988..88372caee4481a13a30424308fbba1b1cd9a1621 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -146,7 +146,15 @@ jobs: env: DOWNSTREAM_PROJECT: ${{ matrix.downstream_project }} run: | - git clone "https://github.com/inducer/$DOWNSTREAM_PROJECT.git" + curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/main/ci-support.sh + . ./ci-support.sh + + # Use "special grudge" for kcv3 and branches targeting it. + if [[ "$DOWNSTREAM_PROJECT" = "grudge" ]] && [[ "$GITHUB_HEAD_REF" = "kernel_callables_v3-edit2" || "$GITHUB_BASE_REF" = "kernel_callables_v3-edit2" ]]; then + with_echo git clone "https://github.com/kaushikcfd/$DOWNSTREAM_PROJECT.git" -b "kcv3-e2-compat" + else + with_echo git clone "https://github.com/inducer/$DOWNSTREAM_PROJECT.git" + fi cd "$DOWNSTREAM_PROJECT" echo "*** $DOWNSTREAM_PROJECT version: $(git rev-parse --short HEAD)" @@ -159,8 +167,6 @@ jobs: sed -i "/mpi4py/ d" requirements.txt - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/main/ci-support.sh - . ./ci-support.sh build_py_project_in_conda_env test_py_project