Unverified Commit 9abe0413 authored by Jinjing Zhou's avatar Jinjing Zhou Committed by GitHub
Browse files

[Test] asv conf fix (#1338)

* patch

* fix+1
parent f9ba3cdc
......@@ -17,7 +17,7 @@
// uninstalling the project. See asv.conf.json documentation.
//
"install_command": [
"in-dir={env_dir} python -c \"print('skip')\""
"in-dir={env_dir} python -m pip install numpy"
],
"build_command": [
"python -c \"print('skip')\""
......
docker run --name dgl-reg --rm --hostname=reg-machine --runtime=nvidia \
-v /home/ubuntu/asv_workspace:/root/regression \
-it dgllib/dgl-ci-gpu:conda \
/bin/bash /root/regression/dgl/tests/regression/run.sh
\ No newline at end of file
docker run --name dgl-reg --rm --hostname=reg-machine --runtime=nvidia -dit dgllib/dgl-ci-gpu:conda /bin/bash
docker cp /home/ubuntu/asv_data dgl-reg:/root/asv_data/
docker exec dgl-reg bash /root/asv_data/run.sh
docker cp dgl-reg:/root/regression/dgl/asv/. /home/ubuntu/asv_data/
docker stop dgl-reg
\ No newline at end of file
. /opt/conda/etc/profile.d/conda.sh
cd ~
mkdir regression
cd regression
# git config core.filemode false
git clone --recursive https://github.com/dmlc/dgl.git
cd dgl
# git clone --recursive https://github.com/dmlc/dgl.git
git pull
git submodule init
git submodule update --recursive
mkdir asv
cp -r ~/asv_data/* asv/
conda activate base
pip install asv
pip install --upgrade pip
pip install asv numpy
source /root/regression/dgl/tests/scripts/build_dgl.sh gpu
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment