debug CI issue with boost on Ubuntu 24.04 #63
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CMake | |
on: | |
push: | |
branches: [ "**" ] | |
pull_request: | |
branches: [ master ] | |
env: | |
BUILD_TYPE: Release | |
jobs: | |
build: | |
runs-on: ${{ matrix.distribution }} | |
strategy: | |
matrix: | |
distribution: [ubuntu-20.04, ubuntu-24.04] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Update apt | |
run: sudo apt update | |
- name: Install dependencies | |
run: | | |
sudo apt install -y build-essential cmake libsdl2-dev libglew-dev libeigen3-dev libassimp-dev libyaml-cpp-dev \ | |
libopenal-dev libvorbis-dev libopusfile-dev libsndfile1-dev libompl-dev | |
- name: Debug boost issue of Ubuntu 24.04 | |
run: | | |
sudo apt install -y tree | |
tree -f /usr/lib/ | grep libboost | |
apt-cache policy libboost-dev | |
apt-cache policy libboost-serialization-dev | |
sudo apt install -y libboost-all-dev | |
- name: Configure CMake | |
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} | |
- name: Build | |
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -- -j |