Skip to content

Upgrade dependencies and cmake #169

Upgrade dependencies and cmake

Upgrade dependencies and cmake #169

Workflow file for this run

name: Build
on:
push:
pull_request:
jobs:
build:
strategy:
matrix:
version: [10, 11, 12, 13]
name: Build (GCC ${{ matrix.version }})
runs-on: ubuntu-24.04
steps:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install --assume-yes --no-install-recommends ca-certificates cmake git libtbb-dev gcc-${{ matrix.version }} g++-${{ matrix.version }}
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${{ matrix.version }} ${{ matrix.version }}
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-${{ matrix.version }} ${{ matrix.version }}
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Build
run: |
cmake -B ./build
cmake --build ./build --parallel