From bb1653ca772af6f49c0f4717ef374c8ece92dfc6 Mon Sep 17 00:00:00 2001 From: d367wang Date: Fri, 4 Jun 2021 22:33:45 -0400 Subject: [PATCH] add units inference as downstreamOC --- .ci-build.sh | 12 ++++++++++++ .github/workflows/main.yml | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.ci-build.sh b/.ci-build.sh index aa49b9a4..b9260c77 100755 --- a/.ci-build.sh +++ b/.ci-build.sh @@ -104,6 +104,18 @@ if [[ "${GROUP}" == downstream* && "${SLUGOWNER}" == "opprop" ]]; then clone_downstream $VALUE_GIT $VALUE_BRANCH test_downstream $VALUE_GIT $VALUE_COMMAND fi + + # Unit inference test + if [[ "${GROUP}" == "downstream-units-inference" ]]; then + UNIT_GIT=units-inference + UNIT_BRANCH=master + UNIT_COMMAND="./gradlew build" + + ./gradlew testLibJar + + clone_downstream $UNIT_GIT $UNIT_BRANCH + test_downstream $UNIT_GIT $UNIT_COMMAND + fi fi echo Exiting "$(cd "$(dirname "$0")" && pwd -P)/$(basename "$0")" in `pwd` diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 499026a7..b24ba244 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - group: [ cfi-tests, downstream-value-inference ] + group: [ cfi-tests, downstream-value-inference, downstream-units-inference ] jdk: [ 8, 11 ] runs-on: ubuntu-latest steps: