ci(ivy): configure CI environments for Ivy JIT and AOT (#24309)
Two new CircleCI environments are created: test_ivy_jit and test_ivy_aot. Both run a subset of the tests that have been marked with Bazel tags as being appropriate for that environment. Once all the tests pass, builds are published to the *-builds repo both for the legacy View Engine compiled code as well as for ivy-jit and ivy-aot. PR Close #24309
This commit is contained in:

committed by
Miško Hevery

parent
8be6892777
commit
7983f0a69b
@ -117,12 +117,20 @@ function publishPackages {
|
||||
echo "Finished publishing build artifacts"
|
||||
}
|
||||
|
||||
function publishAllBuilds() {
|
||||
GIT_SCHEME="$1"
|
||||
|
||||
publishPackages $GIT_SCHEME dist/packages-dist $CUR_BRANCH
|
||||
publishPackages $GIT_SCHEME dist/packages-dist-ivy-jit "${CUR_BRANCH}-ivy-jit"
|
||||
publishPackages $GIT_SCHEME dist/packages-dist-ivy-local "${CUR_BRANCH}-ivy-aot"
|
||||
}
|
||||
|
||||
# See docs/DEVELOPER.md for help
|
||||
CUR_BRANCH=${CIRCLE_BRANCH:-$(git symbolic-ref --short HEAD)}
|
||||
if [ $# -gt 0 ]; then
|
||||
ORG=$1
|
||||
publishPackages "ssh" dist/packages-dist $CUR_BRANCH
|
||||
publishAllBuilds "ssh"
|
||||
else
|
||||
ORG="angular"
|
||||
publishPackages "http" dist/packages-dist $CUR_BRANCH
|
||||
publishAllBuilds "http"
|
||||
fi
|
||||
|
Reference in New Issue
Block a user