Skip to content

Commit

Permalink
try changing the permissions and not building with sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
aclegg3 committed Jul 3, 2024
1 parent ec0152f commit 67b4e14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/actions/install_ubuntu_deps/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ runs:
sudo sh ./cmake-3.12.4-Linux-x86_64.sh --prefix=/opt/cmake312 --skip-license
sudo sh ./cmake-3.20.1-linux-x86_64.sh --prefix=/opt/cmake320 --skip-license
sudo ln -s /opt/cmake312/bin/cmake /usr/local/bin/cmake
cmake --version
shell: bash
- name: Install dependencies
run: |-
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/install_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,14 @@ jobs:
- uses: "./habitat-sim/.github/actions/install_ubuntu_deps"
- name: Build, install habitat-sim
run: |-
sudo chmod -R 777 /
export PATH=$HOME/miniconda/bin:$PATH
conda init
source ~/.bashrc
conda activate habitat
cd habitat-sim
pip install -r requirements.txt --progress-bar off
git submodule update --init --recursive --jobs 8
sudo ~/miniconda3/envs/habitat/bin/python -u setup.py install --build-type "Release" --lto --headless --bullet
~/miniconda3/envs/habitat/bin/python -u setup.py install --build-type "Release" --lto --headless --bullet
- name: Debugging with tmate
uses: mxschmitt/action-tmate@v3.18

0 comments on commit 67b4e14

Please sign in to comment.