Skip to content

Commit

Permalink
update linux CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tmcg0 committed Dec 3, 2023
1 parent 0cd35d2 commit 3a16cd9
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/build-test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ jobs:
CTEST_OUTPUT_ON_FAILURE: ON
CTEST_PARALLEL_LEVEL: 2
CMAKE_BUILD_TYPE: ${{ matrix.build_type }}
BOOST_VERSION: 1.67.0

strategy:
fail-fast: false
Expand All @@ -47,21 +46,27 @@ jobs:
os: ubuntu-20.04
compiler: gcc
version: "7"
gtsam-version: "4.0.3"
boost-version: "1.74.0"
eigen-version: "3.3.9"
gtsam-version: "4.2"
highfive-version: "v2.8.0"

- name: ubuntu-20.04-gcc-9
os: ubuntu-20.04
compiler: gcc
version: "9"
gtsam-version: "4.0.3"
boost-version: "1.74.0"
eigen-version: "3.3.9"
gtsam-version: "4.2"
highfive-version: "v2.8.0"

- name: ubuntu-20.04-clang-9
os: ubuntu-20.04
compiler: clang
version: "9"
gtsam-version: "4.0.3"
boost-version: "1.74.0"
eigen-version: "3.3.9"
gtsam-version: "4.2"
highfive-version: "v2.8.0"

steps:
Expand All @@ -78,10 +83,10 @@ jobs:
echo "matrix name: '${{matrix.name}}"
echo "build type: '${{ matrix.build_type }}'"
- name: Install Eigen 3.3.9
- name: Install Eigen ${{ matrix.eigen-version }}
run: |
cd ${{runner.workspace}} # cd to runner home
git clone --depth 1 --branch 3.3.9 https://gitlab.com/libeigen/eigen eigen3 # clone Eigen
git clone --depth 1 --branch ${{ matrix.eigen-version }} https://gitlab.com/libeigen/eigen eigen3
cd eigen3 && mkdir build && cd build # move into build dir for eigen3
cmake ..
sudo make -j$(nproc) install
Expand Down Expand Up @@ -119,9 +124,9 @@ jobs:
echo "CXX=clang++-${{ matrix.version }}" >> $GITHUB_ENV
fi
- name: Install Boost
- name: Install Boost ${{ matrix.boost-version }}
run: |
BOOST_FOLDER=boost_${BOOST_VERSION//./_}
BOOST_FOLDER=boost_${${{ matrix.boost-version }}//./_}
wget https://boostorg.jfrog.io/artifactory/main/release/${BOOST_VERSION}/source/${BOOST_FOLDER}.tar.gz
tar -zxf ${BOOST_FOLDER}.tar.gz
cd ${BOOST_FOLDER}/
Expand Down

0 comments on commit 3a16cd9

Please sign in to comment.