-
Notifications
You must be signed in to change notification settings - Fork 0
131 lines (127 loc) · 2.96 KB
/
ci.yml
File metadata and controls
131 lines (127 loc) · 2.96 KB
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
name: ci
on:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-linux:
runs-on: ${{ matrix.os }}-${{matrix.os_version}}${{matrix.os_modifier}}
strategy:
fail-fast: false
matrix:
os:
- ubuntu
os_modifier:
- ""
- "-arm"
os_version:
- "22.04"
- "24.04"
gcc:
- 10
- 13
- 14
boost:
- 1.78.0
- 1.88.0
exclude:
- os_version: 22.04
gcc: 14
- os_version: 24.04
gcc: 13
- os_version: 24.04
boost: 1.78.0
steps:
- uses: actions/checkout@v6
- name: Setup Cpp
uses: aminya/setup-cpp@v1
with:
compiler: gcc-${{ matrix.gcc }}
cmake: true
- name: Install boost
uses: MarkusJx/install-boost@v2
id: install-boost
with:
boost_version: ${{ matrix.boost }}
platform_version: ${{ matrix.os_version }}
toolset: gcc
arch: x86
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Run configure
shell: bash
env:
BOOST_ROOT: "${{ steps.install-boost.outputs.BOOST_ROOT }}"
GCC_COMPILER: "g++-${{ matrix.gcc }}"
run: |
set -e
./configure
build-macos:
runs-on: ${{ matrix.runner }}
strategy:
fail-fast: false
matrix:
runner:
- macos-14-large
- macos-15-intel
gcc:
- 11
- 15
boost:
- 1.78.0
- 1.88.0
exclude:
- runner: macos-15-intel
gcc: 11
- runner: macos-15-intel
boost: 1.78.0
steps:
- uses: actions/checkout@v6
- name: Setup Cpp
uses: aminya/setup-cpp@v1
with:
compiler: gcc-${{ matrix.gcc }}
cmake: true
- name: Install boost
uses: MarkusJx/install-boost@v2
id: install-boost
with:
boost_version: ${{ matrix.boost }}
toolset: clang
arch: x86
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Run configure
shell: bash
env:
BOOST_ROOT: "${{ steps.install-boost.outputs.BOOST_ROOT }}"
GCC_COMPILER: "g++-${{ matrix.gcc }}"
run: |
set -e
./configure
build-macos-arm:
runs-on: macos-${{matrix.os_version}}
strategy:
fail-fast: false
matrix:
os_version:
- 14
- 15
gcc:
- 15
boost:
- 1.88.0
steps:
- uses: actions/checkout@v6
- name: Setup toolchain
shell: bash
run: |
brew install cmake gcc boost uv
- name: Run configure
shell: bash
env:
GCC_COMPILER: "g++-15"
run: |
set -e
./configure