From 49397dc324360ac6aa4ff70a19c4dc099cebce18 Mon Sep 17 00:00:00 2001 From: Yifan Zhao <yifanz16@illinois.edu> Date: Fri, 2 Apr 2021 06:23:47 -0500 Subject: [PATCH] Added tests to CI pipeline --- .gitlab-ci.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bd5edbd1a4..e46993708e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,15 +14,19 @@ cache: - hpvm/llvm/ when: always -build: +build-and-test: stage: build tags: - hpvm script: - - pwd - source activate hpvm && cd hpvm + - mv /root/cfe-9.0.0.src.tar.xz /root/llvm-9.0.0.src.tar.xz ./ + - mv /root/model_params ./test/dnn_benchmarks - ./install.sh -j32 -t "X86" DCMAKE_BUILD_TYPE=Release - - cd .. + - cd build + - make -j32 check-hpvm-pass + - make -j32 check-hpvm-dnn + - make -j32 check-hpvm-profiler only: - hpvm-release-exp - merge_requests -- GitLab