Skip to content

Commit

Permalink
fix build process and download test data before ssh
Browse files Browse the repository at this point in the history
  • Loading branch information
aclegg3 committed Jul 10, 2024
1 parent e87bee2 commit 5f92e90
Showing 1 changed file with 22 additions and 4 deletions.
26 changes: 22 additions & 4 deletions .github/workflows/install_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,16 +64,34 @@ jobs:
- name: CPU info
run: cat /proc/cpuinfo
- uses: "./habitat-sim/.github/actions/install_ubuntu_deps"
- name: Debugging with tmate
uses: mxschmitt/action-tmate@v3.18
- name: Build, install habitat-sim
run: |-
sudo chmod -R 777 /
#give cmake ownership to the runner for installation
sudo chown runner /opt/cmake312/bin/cmake
#activate conda env
export PATH=$HOME/miniconda/bin:$PATH
conda init
source ~/.bashrc
conda activate habitat
#install habitat-sim
cd habitat-sim
pip install -r requirements.txt --progress-bar off
git submodule update --init --recursive --jobs 8
~/miniconda3/envs/habitat/bin/python -u setup.py install --build-type "Release" --lto --headless --bullet
python -u setup.py install --build-type "Release" --lto --headless --bullet
- name: Download test data
run: |-
# Disable clone protection for git lfs
export GIT_CLONE_PROTECTION_ACTIVE=false
sudo apt install git-lfs
git --version
git-lfs --version
export PATH=$HOME/miniconda/bin:/usr/local/cuda/bin:$PATH
. activate habitat
conda install -y gitpython git-lfs
cd habitat-sim
git lfs install
python src_python/habitat_sim/utils/datasets_download.py --uids ci_test_assets ycb rearrange_dataset_v2 --replace --data-path data/ --no-prune
ls -la data/scene_datasets/habitat-test-scenes/
- name: Debugging with tmate
uses: mxschmitt/action-tmate@v3.18

0 comments on commit 5f92e90

Please sign in to comment.