Correct clang version in thread pool workflow #500
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 thoroughly test the build system | |
name: Complete build system test | |
on: | |
push: | |
branches: '**' | |
pull_request: | |
branches: '**' | |
jobs: | |
build: | |
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 inkscape optipng | |
sudo apt-get install --no-install-recommends libglm-dev libglfw3-dev libglew-dev libstb-dev libassimp-dev | |
- name: Test icon generation target | |
run: | | |
make icons | |
- name: (g++) Test shared library build target | |
run: | | |
CXX="g++-14" make library -j$(nproc) | |
- name: (g++) Test demo build target | |
run: | | |
CXX="g++-14" make build -j$(nproc) | |
- name: (g++) (DEBUG) Test debug demo build target | |
run: | | |
CXX="g++-14" make debug -j$(nproc) | |
- name: (g++) Check built objects are present | |
run: | | |
ls build/demo build/threadTest build/libammonite.so | |
- name: Clean build area | |
run: | | |
make clean | |
- name: (clang++) Test shared library build target | |
run: | | |
CXX="clang++-18" make library -j$(nproc) | |
- name: (clang++) Test demo build target | |
run: | | |
CXX="clang++-18" make build -j$(nproc) | |
- name: (clang++) (DEBUG) Test debug demo build target | |
run: | | |
CXX="clang++-18" make debug -j$(nproc) | |
- name: (clang++) Check built objects are present | |
run: | | |
ls build/demo build/threadTest build/libammonite.so | |
- name: Test library install target | |
run: | | |
sudo make install | |
- name: Test headers install target | |
run: | | |
sudo make headers |