Skip to content

update cpm and workflows (#5) #9

update cpm and workflows (#5)

update cpm and workflows (#5) #9

Workflow file for this run

name: CMake
on:
push:
branches: [ "master" ]
paths-ignore:
- 'README.md'
- 'docs/**'
pull_request:
branches: [ "master" ]
paths-ignore:
- 'README.md'
- 'docs/**'
jobs:
build-and-test:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- name: Add LLVM Repository
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 19
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y gcc-14 g++-14 cmake ninja-build clang-19 libfmt-dev libc++-19-dev libc++abi-19-dev
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-19 100
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-19 100
- name: tests clang-19-release
run: cmake --workflow --preset="clang-19-release"
- name: tests clang-19-libc++release
run: cmake --workflow --preset="clang-19-libc++release"
- name: tests gcc-14-release
run: cmake --workflow --preset="gcc-14-release"