Skip to content

Upgrade CI to use newer macOS and Linux images and get octomap from package managers #636

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/all_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
matrix:
compiler: [clang]
build: [Release, Debug]
os: ['macos-11']
os: ['macos-latest']
uses: ./.github/workflows/generic_ci.yml
with:
install-name: 'install_osx.sh'
Expand Down
11 changes: 1 addition & 10 deletions ci/install_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,4 @@ sudo apt-get -qq update

sudo apt-get -qq --yes --force-yes install libeigen3-dev
sudo apt-get -qq --yes --force-yes install libccd-dev

# Octomap
git clone https://github.com/OctoMap/octomap
cd octomap
git checkout tags/v1.8.0
mkdir build
cd build
cmake ..
make
sudo make install
sudo apt-get -qq --yes --force-yes install liboctomap-dev
11 changes: 1 addition & 10 deletions ci/install_osx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,4 @@ brew install git
brew install cmake
brew install eigen
brew install libccd

# Octomap
git clone https://github.com/OctoMap/octomap
cd octomap
git checkout tags/v1.8.0
mkdir build
cd build
cmake ..
make
sudo make install
brew install octomap
4 changes: 0 additions & 4 deletions include/fcl/math/geometry-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,6 @@ void eigen_old(const Matrix3<S>& m, Vector3<S>& dout, Matrix3<S>& vout)
int n = 3;
int j, iq, ip, i;
S tresh, theta, tau, t, sm, s, h, g, c;
int nrot;
S b[3];
S z[3];
S v[3][3] = {{1, 0, 0}, {0, 1, 0}, {0, 0, 1}};
Expand All @@ -492,8 +491,6 @@ void eigen_old(const Matrix3<S>& m, Vector3<S>& dout, Matrix3<S>& vout)
z[ip] = 0;
}

nrot = 0;

for(i = 0; i < 50; ++i)
{
sm = 0;
Expand Down Expand Up @@ -544,7 +541,6 @@ void eigen_old(const Matrix3<S>& m, Vector3<S>& dout, Matrix3<S>& vout)
for(j = ip + 1; j < iq; ++j) { g = R(ip, j); h = R(j, iq); R(ip, j) = g - s * (h + g * tau); R(j, iq) = h + s * (g - h * tau); }
for(j = iq + 1; j < n; ++j) { g = R(ip, j); h = R(iq, j); R(ip, j) = g - s * (h + g * tau); R(iq, j) = h + s * (g - h * tau); }
for(j = 0; j < n; ++j) { g = v[j][ip]; h = v[j][iq]; v[j][ip] = g - s * (h + g * tau); v[j][iq] = h + s * (g - h * tau); }
nrot++;
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ GTEST_TEST(GjkLibccdSupportFunction, ConvexSupport) {
// clang-format on
const int kNumFaces = 6;
const bool kThrowIfInvalid = true;
const Convex<double> convex_C(move(vertices), kNumFaces, move(faces),
const Convex<double> convex_C(std::move(vertices), kNumFaces, std::move(faces),
kThrowIfInvalid);

/* Collection of arbitrary poses of the convex mesh: identity, translation,
Expand Down
Loading