Correct clang version in thread pool workflow #205
This file contains 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
# This workflow will build and test the thread pool | |
name: Thread pool test | |
on: | |
push: | |
branches: '**' | |
pull_request: | |
branches: '**' | |
jobs: | |
test: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install build dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install --no-install-recommends make pkg-config build-essential | |
sudo apt-get install --no-install-recommends g++-14 clang-18 | |
sudo apt-get install --no-install-recommends libglm-dev libglfw3-dev libglew-dev libstb-dev libassimp-dev | |
- name: (g++) (DEBUG) Build thread tester | |
run: | | |
make clean | |
CXX="g++-14" DEBUG="true" make threads -j$(nproc) | |
- name: (g++) (DEBUG) Run thread tester | |
run: | | |
./launch.sh --threads | |
- name: (g++) (CHECK_THREADS) Build thread tester | |
run: | | |
make clean | |
CXX="g++-14" CHECK_THREADS="true" make threads -j$(nproc) | |
- name: (g++) (CHECK_THREADS) Run thread tester | |
run: | | |
./launch.sh --threads | |
- name: (clang++) (DEBUG) Build thread tester | |
run: | | |
make clean | |
CXX="clang++-18" DEBUG="true" make threads -j$(nproc) | |
- name: (clang++) (DEBUG) Run thread tester | |
run: | | |
./launch.sh --threads | |
- name: (clang++) (CHECK_THREADS) Build thread tester | |
run: | | |
make clean | |
CXX="clang++-18" CHECK_THREADS="true" make threads -j$(nproc) | |
- name: (clang++) (CHECK_THREADS) Run thread tester | |
run: | | |
./launch.sh --threads |