File tree Expand file tree Collapse file tree 3 files changed +120
-0
lines changed Expand file tree Collapse file tree 3 files changed +120
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : macos CI
2
+
3
+ on :
4
+ pull_request :
5
+ types : [opened, synchronize, reopened, ready_for_review]
6
+ paths-ignore :
7
+ - ' **.md'
8
+ - ' docs/**'
9
+ push :
10
+ branches :
11
+ - main
12
+ paths-ignore :
13
+ - ' **.md'
14
+ - ' docs/**'
15
+
16
+ permissions :
17
+ contents : read
18
+
19
+ concurrency :
20
+ group : ${{ github.workflow }}-${{ github.ref }}
21
+ cancel-in-progress : true
22
+
23
+ jobs :
24
+ ubuntu-build :
25
+ runs-on : macos-latest
26
+ steps :
27
+ - uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
28
+ - name : Prepare
29
+ run : cmake -B build
30
+ - name : Build
31
+ run : cmake --build build -j=2
32
+ - name : Test
33
+ run : ctest --output-on-failure --test-dir build
34
+ - name : Run default benchmark
35
+ run : ./build/benchmarks/benchmark
Original file line number Diff line number Diff line change
1
+ name : Ubuntu 22.04 CI
2
+
3
+ on :
4
+ pull_request :
5
+ types : [opened, synchronize, reopened, ready_for_review]
6
+ paths-ignore :
7
+ - ' **.md'
8
+ - ' docs/**'
9
+ push :
10
+ branches :
11
+ - main
12
+ paths-ignore :
13
+ - ' **.md'
14
+ - ' docs/**'
15
+
16
+ permissions :
17
+ contents : read
18
+
19
+ concurrency :
20
+ group : ${{ github.workflow }}-${{ github.ref }}
21
+ cancel-in-progress : true
22
+
23
+ jobs :
24
+ ubuntu-build :
25
+ runs-on : ubuntu-22.04
26
+ strategy :
27
+ matrix :
28
+ shared : [ON, OFF]
29
+ cxx : [g++-12, clang++-14]
30
+ steps :
31
+ - uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
32
+ - name : Setup Ninja
33
+ run : sudo apt-get install ninja-build
34
+ - name : Prepare
35
+ run : cmake -D ADA_BENCHMARKS=ON -DBUILD_SHARED_LIBS=${{matrix.shared}} -G Ninja -B build
36
+ env :
37
+ CXX : ${{matrix.cxx}}
38
+ - name : Build
39
+ run : cmake --build build -j=2
40
+ - name : Test
41
+ run : ctest --output-on-failure --test-dir build
42
+ - name : Run default benchmark
43
+ run : ./build/benchmarks/benchmark
Original file line number Diff line number Diff line change
1
+ name : VS17 CI
2
+
3
+ on :
4
+ pull_request :
5
+ types : [opened, synchronize, reopened, ready_for_review]
6
+ paths-ignore :
7
+ - ' **.md'
8
+ - ' docs/**'
9
+ push :
10
+ branches :
11
+ - main
12
+ paths-ignore :
13
+ - ' **.md'
14
+ - ' docs/**'
15
+
16
+ permissions :
17
+ contents : read
18
+
19
+ concurrency :
20
+ group : ${{ github.workflow }}-${{ github.ref }}
21
+ cancel-in-progress : true
22
+
23
+ jobs :
24
+ ci :
25
+ name : windows-vs17
26
+ runs-on : windows-latest
27
+ strategy :
28
+ fail-fast : false
29
+ matrix :
30
+ include :
31
+ - {gen: Visual Studio 17 2022, arch: x64, config: Release}
32
+ - {gen: Visual Studio 17 2022, arch: x64, config: Debug}
33
+ steps :
34
+ - uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
35
+ - name : Configure
36
+ run : |
37
+ cmake -G "${{matrix.gen}}" -A ${{matrix.arch}} -B build
38
+ - name : Build
39
+ run : cmake --build build --config "${{matrix.config}}" --verbose
40
+ - name : Run tests
41
+ working-directory : build
42
+ run : ctest -C "${{matrix.config}}" --output-on-failure
You can’t perform that action at this time.
0 commit comments