Skip to content

Commit

Permalink
- updated cmake version
Browse files Browse the repository at this point in the history
- updated ycm version
  • Loading branch information
randaz81 committed Sep 14, 2023
1 parent 2c96e26 commit 9a14554
Showing 1 changed file with 24 additions and 29 deletions.
53 changes: 24 additions & 29 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,60 +170,55 @@ jobs:
fail-fast: false
matrix:
config:
- {
cmake_version: "3.16.*",
cmake_generator: "Unix Makefiles",
ycm_version: "0.15.1",
}
- {
cmake_version: "3.17.*",
cmake_generator: "Unix Makefiles",
ycm_version: "0.15.1",
ycm_version: "0.15.3",
}
- {
cmake_version: "3.18.*",
cmake_generator: "Unix Makefiles",
ycm_version: "0.15.1",
ycm_version: "0.15.3",
}
- {
cmake_version: "3.19.*",
cmake_generator: "Unix Makefiles",
ycm_version: "0.15.1",
ycm_version: "0.15.3",
}
- {
cmake_version: "3.20.*",
cmake_generator: "Unix Makefiles",
ycm_version: "0.15.1",
ycm_version: "0.15.3",
}
- {
cmake_version: "3.20.*",
cmake_generator: "Ninja",
ycm_version: "0.15.1",
ycm_version: "0.15.3",
}
- {
cmake_version: "3.21.*",
cmake_generator: "Unix Makefiles",
ycm_version: "0.15.1",
ycm_version: "0.15.3",
}
- {
cmake_version: "3.22.*",
cmake_generator: "Unix Makefiles",
ycm_version: "0.15.1",
ycm_version: "0.15.3",
}
- {
cmake_version: "3.23.*",
cmake_generator: "Unix Makefiles",
ycm_version: "0.15.1",
ycm_version: "0.15.3",
}
- {
cmake_version: "3.24.*",
cmake_generator: "Unix Makefiles",
ycm_version: "0.15.1",
ycm_version: "0.15.3",
}
- {
cmake_version: "3.25.*",
cmake_generator: "Unix Makefiles",
ycm_version: "0.15.1",
ycm_version: "0.15.3",
}
steps:
- name: remove any previous installation of cmake
Expand All @@ -250,8 +245,8 @@ jobs:
- name: Get YCM package
run: |
wget -nv https://github.com/robotology/ycm/releases/download/v0.15.1/ycm-cmake-modules-0.15.1-all.deb
sudo dpkg -i ycm-cmake-modules-0.15.1-all.deb
wget -nv https://github.com/robotology/ycm/releases/download/v0.15.3/ycm-cmake-modules-0.15.3-all.deb
sudo dpkg -i ycm-cmake-modules-0.15.3-all.deb
- name: Print YCM version
run: |
Expand Down Expand Up @@ -698,8 +693,8 @@ jobs:
/usr/bin/cmake --version
# Install ycm
wget -nv https://github.com/robotology/ycm/releases/download/v0.15.1/ycm-cmake-modules-0.15.1-all.deb
sudo dpkg -i ycm-cmake-modules-0.15.1-all.deb
wget -nv https://github.com/robotology/ycm/releases/download/v0.15.3/ycm-cmake-modules-0.15.3-all.deb
sudo dpkg -i ycm-cmake-modules-0.15.3-all.deb
# Install build tools
sudo apt-get install -qq -y ccache \
Expand Down Expand Up @@ -783,7 +778,7 @@ jobs:
7z x -oC:\ vcpkg-robotology-yarp-only.zip
echo ""
echo " Download and install YCM "
wget -nv https://github.com/robotology/ycm/releases/download/v0.15.1/ycm-cmake-modules-0.15.1-all.tar.gz -O ycm.tar.gz
wget -nv https://github.com/robotology/ycm/releases/download/v0.15.3/ycm-cmake-modules-0.15.3-all.tar.gz -O ycm.tar.gz
7z x ycm.tar.gz
7z x -ttar -oC:\robotology ycm.tar
echo ""
Expand All @@ -807,7 +802,7 @@ jobs:
rm -f /usr/local/bin/python3.11
rm -f /usr/local/bin/python3.11-config
wget -nv https://github.com/robotology/ycm/releases/download/v0.15.1/ycm-cmake-modules-0.15.1-all.tar.gz -O /Users/runner/work/yarp/ycm.tar.gz
wget -nv https://github.com/robotology/ycm/releases/download/v0.15.3/ycm-cmake-modules-0.15.3-all.tar.gz -O /Users/runner/work/yarp/ycm.tar.gz
7z x /Users/runner/work/yarp/ycm.tar.gz -o/Users/runner/work/yarp
7z x -ttar /Users/runner/work/yarp/ycm.tar -o/Users/runner/work/yarp
Expand All @@ -826,9 +821,9 @@ jobs:
# if YCM is installed manually, set YCM_DIR to allow CMake to find it
if("${{ runner.os }}" STREQUAL "Windows")
file(APPEND "${_env_script}" "set(ENV{YCM_DIR} \"C:\\\\robotology\\\\YCM-0.15.1-all\")\n")
file(APPEND "${_env_script}" "set(ENV{YCM_DIR} \"C:\\\\robotology\\\\YCM-0.15.3-all\")\n")
elseif("${{ runner.os }}" STREQUAL "macOS")
file(APPEND "${_env_script}" "set(ENV{YCM_DIR} \"/Users/runner/work/yarp/YCM-0.15.1-all\")\n")
file(APPEND "${_env_script}" "set(ENV{YCM_DIR} \"/Users/runner/work/yarp/YCM-0.15.3-all\")\n")
endif()
if("${{ runner.os }}" STREQUAL "Windows" AND NOT "${{ matrix.config.environment_script }}" STREQUAL "")
Expand Down Expand Up @@ -1383,8 +1378,8 @@ jobs:
/usr/bin/cmake --version
# Install ycm
wget -nv https://github.com/robotology/ycm/releases/download/v0.15.1/ycm-cmake-modules-0.15.1-all.deb
sudo dpkg -i ycm-cmake-modules-0.15.1-all.deb
wget -nv https://github.com/robotology/ycm/releases/download/v0.15.3/ycm-cmake-modules-0.15.3-all.deb
sudo dpkg -i ycm-cmake-modules-0.15.3-all.deb
# Install build tools
sudo apt-get install -qq -y ccache \
Expand Down Expand Up @@ -1570,8 +1565,8 @@ jobs:
/usr/bin/cmake --version
# Install ycm
wget -nv https://github.com/robotology/ycm/releases/download/v0.15.1/ycm-cmake-modules-0.15.1-all.deb
sudo dpkg -i ycm-cmake-modules-0.15.1-all.deb
wget -nv https://github.com/robotology/ycm/releases/download/v0.15.3/ycm-cmake-modules-0.15.3-all.deb
sudo dpkg -i ycm-cmake-modules-0.15.3-all.deb
# Install build tools
sudo apt-get install -qq -y ccache \
Expand Down Expand Up @@ -1777,8 +1772,8 @@ jobs:
/usr/bin/cmake --version
# Install ycm
wget -nv https://github.com/robotology/ycm/releases/download/v0.15.1/ycm-cmake-modules-0.15.1-all.deb
sudo dpkg -i ycm-cmake-modules-0.15.1-all.deb
wget -nv https://github.com/robotology/ycm/releases/download/v0.15.3/ycm-cmake-modules-0.15.3-all.deb
sudo dpkg -i ycm-cmake-modules-0.15.3-all.deb
# Install build tools
sudo apt-get install -qq -y ccache \
Expand Down

0 comments on commit 9a14554

Please sign in to comment.