Add support for LLVM 19 #2162
Workflow file for this run
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
name: GitHub CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
osx_13_x86: | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build | |
run: bash tools/gha_osx_x86.sh | |
osx_13_static_x86: | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build | |
run: bash tools/gha_osx_x86_static.sh | |
osx_14_static_arm64: | |
runs-on: macos-14 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build | |
run: bash tools/gha_osx_arm64_static.sh | |
windows_2022_llvm_latest: | |
runs-on: windows-2022 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
auto-update-conda: true | |
python-version: "3.10" | |
channels: conda-forge | |
channel-priority: strict | |
- uses: ilammy/msvc-dev-cmd@v1 | |
- name: Build | |
shell: pwsh | |
run: | | |
conda install -y cmake llvmdev tbb-devel tbb libboost-devel xtensor xtensor-blas blas blas-devel fmt spdlog sleef zlib libzlib 'mppp=1.*' | |
mkdir build | |
cd build | |
cmake ../ -G "Visual Studio 17 2022" -A x64 -DHEYOKA_BUILD_TESTS=yes -DHEYOKA_WITH_MPPP=yes -DHEYOKA_BUILD_TUTORIALS=ON -DHEYOKA_ENABLE_IPO=yes -DHEYOKA_WITH_SLEEF=yes | |
cmake --build . --config Release -j2 | |
copy Release\heyoka.dll test\Release\ | |
ctest -j4 -V -C Release | |
conda_release_static: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build | |
run: bash tools/gha_conda_release_static.sh | |
conda_clang_tidy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build | |
run: bash tools/gha_conda_clang_tidy.sh | |
conda_release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build | |
run: bash tools/gha_conda_release.sh | |
conda_coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
# NOTE: this is needed by codecov | |
# apparently: | |
# https://github.com/codecov/codecov-action/issues/190 | |
fetch-depth: 2 | |
- name: Build | |
run: bash tools/gha_conda_coverage.sh | |
conda_ubsan: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build | |
run: bash tools/gha_conda_ubsan.sh | |
conda_llvm18_asan: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build | |
run: bash tools/gha_llvm18_conda_asan.sh | |
conda_llvm17_asan: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build | |
run: bash tools/gha_llvm17_conda_asan.sh | |
conda_llvm16_asan: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build | |
run: bash tools/gha_llvm16_conda_asan.sh | |
conda_llvm15_asan: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build | |
run: bash tools/gha_llvm15_conda_asan.sh |