Skip to content

Commit

Permalink
refactored configure
Browse files Browse the repository at this point in the history
  • Loading branch information
pattacini authored Dec 30, 2024
1 parent 408031a commit 39b126d
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 26 deletions.
13 changes: 1 addition & 12 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,5 @@
"name": "CDE for robots-configuration",
"image": "ghcr.io/robotology/robots-configuration:latest",
"remoteUser": "gitpod",
"customizations": {
"vscode": {
"settings": {
"terminal.integrated.shell.linux": "/bin/bash"
}
}
},
"postAttachCommand": [
"mkdir -p build && cd build",
"cmake .. -DCMAKE_PREFIX_PATH=${DEPENDENCIES_DIR}/install -DCMAKE_INSTALL_PREFIX=${DEPENDENCIES_DIR}/install -DBUILD_TESTING:BOOL=ON -DINSTALL_ALL_ROBOTS:BOOL=ON",
"cmake --build . --config Release --target install"
]
"postAttachCommand": "./tests/dry-run/configure.sh"
}
6 changes: 1 addition & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,7 @@ jobs:
- name: Configure
shell: bash
run: |
mkdir -p build && cd build
cmake -DCMAKE_PREFIX_PATH=${DEPENDENCIES_DIR}/install \
-DCMAKE_INSTALL_PREFIX=${DEPENDENCIES_DIR}/install \
-DBUILD_TESTING:BOOL=ON \
-DINSTALL_ALL_ROBOTS:BOOL=ON ..
./tests/dry-run/configure.sh
- name: Install
shell: bash
Expand Down
10 changes: 1 addition & 9 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
image: ghcr.io/robotology/robots-configuration:latest
tasks:
- name: Install
command: |
mkdir -p build && cd build
cmake .. \
-DCMAKE_PREFIX_PATH=${DEPENDENCIES_DIR}/install \
-DCMAKE_INSTALL_PREFIX=${DEPENDENCIES_DIR}/install \
-DBUILD_TESTING:BOOL=ON \
-DINSTALL_ALL_ROBOTS:BOOL=ON
cmake --build . --config Release --target install
- command: ./tests/dry-run/configure.sh
13 changes: 13 additions & 0 deletions tests/dry-run/configure.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/bash
################################################################################
# #
# Copyright (C) 2024 Fondazione Istitito Italiano di Tecnologia (IIT) #
# All Rights Reserved. #
# #
################################################################################

mkdir -p build && cd build
cmake -DCMAKE_PREFIX_PATH=${DEPENDENCIES_DIR}/install \
-DCMAKE_INSTALL_PREFIX=${DEPENDENCIES_DIR}/install \
-DBUILD_TESTING:BOOL=ON \
-DINSTALL_ALL_ROBOTS:BOOL=ON ..

0 comments on commit 39b126d

Please sign in to comment.