Skip to content

Commit 9db22d1

Browse files
committed
ci: add ubuntu-24.04-arm
1 parent fb86d3d commit 9db22d1

File tree

1 file changed

+31
-22
lines changed

1 file changed

+31
-22
lines changed

.github/workflows/cmake-multi-platform.yml

Lines changed: 31 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ name: CMake on multiple platforms
44

55
on:
66
push:
7-
branches: [ "main" ]
7+
branches: ["main"]
88
pull_request:
9-
branches: [ "main", "*" ]
9+
branches: ["main", "*"]
1010

1111
jobs:
1212
build:
@@ -23,28 +23,34 @@ jobs:
2323
#
2424
# To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list.
2525
matrix:
26-
os: [ubuntu-latest, macos-latest, windows-latest]
26+
os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest, windows-latest]
2727
build_type: [Release]
2828
c_compiler: [gcc, clang, cl]
29-
include:
30-
# windows
31-
- os: windows-latest
32-
c_compiler: cl
33-
cpp_compiler: cl
34-
# ubuntu
35-
- os: ubuntu-latest
36-
c_compiler: gcc
37-
cpp_compiler: g++
38-
- os: ubuntu-latest
39-
c_compiler: clang
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++
29+
# include:
30+
# # windows
31+
# - os: windows-latest
32+
# c_compiler: cl
33+
# cpp_compiler: cl
34+
# # ubuntu
35+
# - os: ubuntu-latest
36+
# c_compiler: gcc
37+
# cpp_compiler: g++
38+
# - os: ubuntu-latest
39+
# c_compiler: clang
40+
# cpp_compiler: clang++
41+
# - os: ubuntu-24.04-arm
42+
# c_compiler: gcc
43+
# cpp_compiler: g++
44+
# - os: ubuntu-24.04-arm
45+
# c_compiler: clang
46+
# cpp_compiler: clang++
47+
# # macos
48+
# - os: macos-latest
49+
# c_compiler: gcc
50+
# cpp_compiler: g++
51+
# - os: macos-latest
52+
# c_compiler: clang
53+
# cpp_compiler: clang++
4854
exclude:
4955
# windows
5056
- os: windows-latest
@@ -54,6 +60,9 @@ jobs:
5460
# ubuntu
5561
- os: ubuntu-latest
5662
c_compiler: cl
63+
# ubuntu
64+
- os: ubuntu-24.04-arm
65+
c_compiler: cl
5766
# macos
5867
- os: macos-latest
5968
c_compiler: cl

0 commit comments

Comments
 (0)