Skip to content

Commit

Permalink
Debug .github/workflows/ubuntu-ci-containers-x86_64.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
climbfuji committed Oct 3, 2023
1 parent 30bb1ab commit 23d1afa
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/ubuntu-ci-containers-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,22 +62,20 @@ jobs:
DOW=$(date +%u)
# Monday is 1 ... Sunday is 7
if [[ $DOW == 1 || $DOW == 4 ]]; then
CONTAINER_DEFAULT="docker-ubuntu-clang-mpich"
export CONTAINER=${{ inputs.container || "docker-ubuntu-clang-mpich" }}
export SPECS=${{ inputs.specs || "jedi-ci" }}
elif [[ $DOW == 2 || $DOW == 5 ]]; then
CONTAINER_DEFAULT="docker-ubuntu-gcc-openmpi"
export CONTAINER=${{ inputs.container || "docker-ubuntu-gcc-openmpi" }}
export SPECS=${{ inputs.specs || "jedi-ci" }}
elif [[ $DOW == 3 || $DOW == 6 ]]; then
CONTAINER_DEFAULT="docker-ubuntu-intel-impi"
export CONTAINER=${{ inputs.container || "docker-ubuntu-intel-impi" }}
export SPECS=${{ inputs.specs || "jedi-ci" }}
else
# Day 7: The Sabbath of rest
echo "Pruning all docker images"
docker system prune -a
exit 0
fi
# So far only one set of specs
SPECS_DEFAULT=jedi-ci
export CONTAINER=${{ inputs.container || ${CONTAINER_DEFAULT} }}
export SPECS=${{ inputs.specs || ${SPECS_DEFAULT} }}
echo ${CONTAINER}
echo ${SPECS}
Expand Down

0 comments on commit 23d1afa

Please sign in to comment.