-
-
Notifications
You must be signed in to change notification settings - Fork 133
74 lines (66 loc) · 1.91 KB
/
ubuntu.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
name: Ubuntu
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
Ubuntu-Clang:
strategy:
matrix:
include:
- clang-compiler: "6.0"
ubuntu-release: ubuntu-20.04
- clang-compiler: "7"
ubuntu-release: ubuntu-20.04
- clang-compiler: "8"
ubuntu-release: ubuntu-20.04
- clang-compiler: "9"
ubuntu-release: ubuntu-20.04
- clang-compiler: "10"
ubuntu-release: ubuntu-20.04
- clang-compiler: "11"
ubuntu-release: ubuntu-22.04
- clang-compiler: "12"
ubuntu-release: ubuntu-22.04
- clang-compiler: "13"
ubuntu-release: ubuntu-22.04
- clang-compiler: "14"
ubuntu-release: ubuntu-22.04
- clang-compiler: "15"
ubuntu-release: ubuntu-22.04
- clang-compiler: "16"
ubuntu-release: ubuntu-24.04
- clang-compiler: "17"
ubuntu-release: ubuntu-24.04
- clang-compiler: "18"
ubuntu-release: ubuntu-24.04
env:
CXX: clang++-${{ matrix.clang-compiler }}
CXXFLAGS: -std=c++11
runs-on: ${{ matrix.ubuntu-release }}
steps:
- uses: actions/checkout@v4
- run: sudo apt update
- run: sudo apt -y install clang-${{ matrix.clang-compiler }}
- run: cmake -DTERMCOLOR_TESTS=ON .
- run: cmake --build .
- run: ./test_termcolor
Ubuntu-GCC:
runs-on: ubuntu-latest
strategy:
matrix:
gcc-compiler:
- "10"
- "11"
- "12"
env:
CXX: g++-${{ matrix.gcc-compiler }}
CXXFLAGS: -std=c++11
steps:
- uses: actions/checkout@v4
- run: sudo apt update
- run: sudo apt -y install g++-${{ matrix.gcc-compiler }}
- run: cmake -DTERMCOLOR_TESTS=ON .
- run: cmake --build .
- run: ./test_termcolor