-
Notifications
You must be signed in to change notification settings - Fork 12
107 lines (107 loc) · 2.98 KB
/
gha_ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
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