You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/cmake-multi-platform.yml
+33-1Lines changed: 33 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -23,26 +23,40 @@ jobs:
23
23
#
24
24
# To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list.
25
25
matrix:
26
-
os: [ubuntu-latest, windows-latest]
26
+
os: [ubuntu-latest, macos-latest, windows-latest]
27
27
build_type: [Release]
28
28
c_compiler: [gcc, clang, cl]
29
29
include:
30
+
# windows
30
31
- os: windows-latest
31
32
c_compiler: cl
32
33
cpp_compiler: cl
34
+
# ubuntu
33
35
- os: ubuntu-latest
34
36
c_compiler: gcc
35
37
cpp_compiler: g++
36
38
- os: ubuntu-latest
37
39
c_compiler: clang
38
40
cpp_compiler: clang++
41
+
# macos
42
+
- os: macos-latest
43
+
c_compiler: gcc
44
+
cpp_compiler: g++
45
+
- os: macos-latest
46
+
c_compiler: clang
47
+
cpp_compiler: clang++
39
48
exclude:
49
+
# windows
40
50
- os: windows-latest
41
51
c_compiler: gcc
42
52
- os: windows-latest
43
53
c_compiler: clang
54
+
# ubuntu
44
55
- os: ubuntu-latest
45
56
c_compiler: cl
57
+
# macos
58
+
- os: macos-latest
59
+
c_compiler: cl
46
60
47
61
steps:
48
62
- uses: actions/checkout@v4
@@ -67,3 +81,21 @@ jobs:
67
81
- name: Build
68
82
# Build your program with the given configuration. Note that --config is needed because the default Windows generator is a multi-config generator (Visual Studio generator).
0 commit comments