Skip to content

Commit 3d51787

Browse files
authored
Merge branch 'main' into Add-Windows-Emscripten-build-of-xeus-cpp-to-ci
2 parents 876d7f0 + 33a3e7e commit 3d51787

File tree

14 files changed

+98
-62
lines changed

14 files changed

+98
-62
lines changed

.codecov.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ codecov:
44
coverage:
55
precision: 2
66
round: down
7-
range: "70...100"
7+
range: "75...100"
88

99
status:
1010
project: yes
@@ -22,4 +22,7 @@ parsers:
2222
comment:
2323
layout: "reach, diff, flags, tree, files"
2424
behavior: default
25-
require_changes: no
25+
require_changes: no
26+
27+
github_checks:
28+
annotations: true # Deprecated but very useful

.github/workflows/clang-format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-22.04
1616
steps:
1717
- name: Checkout PR branch
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v5
1919
with:
2020
ref: ${{ github.event.pull_request.head.sha }}
2121
fetch-depth: 0

.github/workflows/clang-tidy-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-22.04
1616
steps:
1717
- name: Checkout PR branch
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v5
1919

2020
- name: Setup Python
2121
uses: actions/setup-python@v5

.github/workflows/deploy-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
emsdk_ver: "3.1.73"
3030

3131
steps:
32-
- uses: actions/checkout@v4
32+
- uses: actions/checkout@v5
3333
with:
3434
fetch-depth: 0
3535

.github/workflows/emscripten.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
emsdk_ver: "3.1.73"
8080

8181
steps:
82-
- uses: actions/checkout@v4
82+
- uses: actions/checkout@v5
8383
with:
8484
fetch-depth: 0
8585

@@ -441,7 +441,7 @@ jobs:
441441
emsdk_ver: "3.1.73"
442442

443443
steps:
444-
- uses: actions/checkout@v4
444+
- uses: actions/checkout@v5
445445
with:
446446
fetch-depth: 0
447447

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ jobs:
201201
llvm_targets_to_build: "host;NVPTX"
202202

203203
steps:
204-
- uses: actions/checkout@v4
204+
- uses: actions/checkout@v5
205205
with:
206206
fetch-depth: 0
207207

.github/workflows/markdown-linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
steps:
2626
- name: Checkout code
27-
uses: actions/checkout@v4
27+
uses: actions/checkout@v5
2828
with:
2929
# super-linter needs the full git history to get the
3030
# list of files that changed across commits

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -274,10 +274,10 @@ endif()
274274
set(LLVM_LIBRARY_OUTPUT_INTDIR ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib${LLVM_LIBDIR_SUFFIX})
275275

276276
set( CPPINTEROP_BUILT_STANDALONE 1 )
277-
endif()
278277

279-
include(AddLLVM)
280-
include(HandleLLVMOptions)
278+
include(AddLLVM)
279+
include(HandleLLVMOptions)
280+
endif()
281281

282282
set(CMAKE_INCLUDE_CURRENT_DIR ON)
283283

lib/CppInterOp/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ endif()
6969
continue()
7070
endif()
7171
foreach(transitive_lib ${transitive_libs})
72+
if(NOT TARGET ${transitive_lib})
73+
continue()
74+
endif()
7275
get_target_property(lib_type ${transitive_lib} TYPE)
7376
if("${lib_type}" STREQUAL "STATIC_LIBRARY")
7477
list(APPEND static_transitive_libs ${transitive_lib})

lib/CppInterOp/CXCppInterOp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ CXString clang_getTypeAsString(CXQualType type) {
437437
clang::PrintingPolicy Policy = C.getPrintingPolicy();
438438
Policy.Bool = true; // Print bool instead of _Bool.
439439
Policy.SuppressTagKeyword = true; // Do not print `class std::string`.
440-
return makeCXString(compat::FixTypeName(QT.getAsString(Policy)));
440+
return makeCXString(QT.getAsString(Policy));
441441
}
442442

443443
CXQualType clang_getComplexType(CXQualType eltype) {

0 commit comments

Comments
 (0)