Skip to content
Snippets Groups Projects
Unverified Commit 3222ef28 authored by Andreas Klöckner's avatar Andreas Klöckner Committed by GitHub
Browse files

kcv3 downstream grudge CI: Use appropriate branch (#359)

* kcv3 downstream grudge CI: Use appropriate branch

* Debug grudge downstream CI kcv3 clone

* Grudge downstream CI for kcv3: Also for kcv3-grudge-downstream-ci

* kcv3 downstream grudge CI: I hate nested shell conditionals

* kcv3 grudge downstream CI: Use "special grudge" for kcv3 and branches targeting it
parent d9f623fb
No related branches found
No related tags found
1 merge request!426Discussion: kernel_callables_v3-edit2
Pipeline #159638 passed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment