Skip to content

Commit 23444d7

Browse files
committed
ci: more fixes
1 parent 3c0a5fb commit 23444d7

2 files changed

Lines changed: 31 additions & 0 deletions

File tree

.github/workflows/build_cmake.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,29 @@ jobs:
113113
exclude:
114114
- config: { name: "iOS" }
115115
boost: 1
116+
117+
# Modules not yet working on VS2022
118+
- config: { name: "MSVC x86_64" }
119+
library_mode: MODULE
120+
- config: { name: "MSVC arm64" }
121+
library_mode: MODULE
122+
123+
# Modules not supported at all on gcc 13
116124
- config: { name: "Ubuntu gcc-13" }
117125
library_mode: MODULE
126+
127+
# ICE
128+
- config: { name: "Ubuntu gcc-14" }
129+
library_mode: MODULE
130+
131+
# Modules not yet supported by ubuntu 24.04 default clang version
132+
- config: { name: "Ubuntu clang libc++" }
133+
library_mode: MODULE
134+
135+
# Modules not supported at all by AppleClang as of Xcode 26
118136
- config: { name: "macOS" }
119137
library_mode: MODULE
138+
120139
- config: { name: "iOS" }
121140
library_mode: MODULE
122141

@@ -245,10 +264,16 @@ jobs:
245264
boost: [0, 1]
246265
library_mode: [LIBRARY, HEADER_ONLY, MODULE]
247266
distro: [bookworm, trixie, testing]
267+
cxx: [c++, clang++]
248268

249269
exclude:
250270
- distro: bookworm
251271
library_mode: MODULE
272+
- distro: trixie
273+
library_mode: MODULE
274+
- distro: testing
275+
library_mode: MODULE
276+
cxx: c++
252277

253278
steps:
254279
- name: Install git
@@ -286,6 +311,7 @@ jobs:
286311
fi
287312
cmake -S . -B build \
288313
$CMAKE_GENERATOR \
314+
-DCMAKE_CXX_COMPILER=${{ matrix.cxx }} \
289315
-DLIBREMIDI_FIND_BOOST=${{ matrix.boost }} \
290316
-DLIBREMIDI_LIBRARY_MODE=${{ matrix.library_mode }} \
291317
-DLIBREMIDI_EXAMPLES=1 \

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ project(libremidi
66
HOMEPAGE_URL "https://github.com/jcelerier/libremidi"
77
)
88

9+
# Still support BOOST_ROOT
10+
if(POLICY CMP0167)
11+
cmake_policy(SET CMP0167 OLD)
12+
endif()
13+
914
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
1015

1116
include(CMakeDependentOption)

0 commit comments

Comments
 (0)