Skip to content

tests: move to ubuntu 24.04 #243

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 17, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 30 additions & 13 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -14,59 +14,76 @@ jobs:
fail-fast: false
matrix:
include:
# UBUNTU 24.04 - CASTXML EPIC 0
# UBUNTU 22.04 - CASTXML EPIC 0
- os: ubuntu-22.04
compiler: gcc
version: "11"
python-version: "3.9"
python-version: "3.13"
castxml: "castxml"
castxml-epic: 0
cppstd: "-std=c++98"

- os: ubuntu-22.04
compiler: gcc
version: "11"
python-version: "3.13"
castxml: "castxml"
castxml-epic: 1
cppstd: "-std=c++98"

# UBUNTU 24.04 - CASTXML EPIC 0
- os: ubuntu-24.04
compiler: gcc
version: "13"
python-version: "3.9"
castxml: "castxml"
castxml-epic: 0
cppstd: "-std=c++98"

- os: ubuntu-24.04
compiler: gcc
version: "13"
python-version: "3.10"
castxml: "castxml"
castxml-epic: 0
cppstd: "-std=c++98"

- os: ubuntu-22.04
- os: ubuntu-24.04
compiler: gcc
version: "11"
version: "13"
python-version: "3.11"
castxml: "castxml"
castxml-epic: 0
cppstd: "-std=c++98"

- os: ubuntu-22.04
- os: ubuntu-24.04
compiler: gcc
version: "11"
version: "13"
python-version: "3.12"
castxml: "castxml"
castxml-epic: 0
cppstd: "-std=c++98"

- os: ubuntu-22.04
- os: ubuntu-24.04
compiler: gcc
version: "11"
version: "13"
python-version: "3.13"
castxml: "castxml"
castxml-epic: 0
cppstd: "-std=c++98"

# UBUNTU 24.04 - CASTXML EPIC 1
- os: ubuntu-22.04
- os: ubuntu-24.04
compiler: gcc
version: "11"
version: "13"
python-version: "3.13"
castxml: "castxml"
castxml-epic: 1
cppstd: "-std=c++98"

- os: ubuntu-22.04
- os: ubuntu-24.04
compiler: gcc
version: "11"
version: "13"
python-version: "3.13"
castxml: "castxml"
castxml-epic: 1
@@ -100,7 +117,7 @@ jobs:
run: pycodestyle . --exclude=docs

- name: Setup castxml for Linux
if: matrix.os == 'ubuntu-22.04' && matrix.castxml == 'castxml'
if: contains(matrix.os, 'ubuntu') && matrix.castxml == 'castxml'
run: |
wget -q -O - https://data.kitware.com/api/v1/file/hashsum/sha512/bdbb67a10c5f8d1b738cd19cb074f409d4803e8077cb8c1072ef4eaf738fa871a73643f9c8282d58cae28d188df842c82ad6620b6d590b0396a0172a27438dce/download | tar zxf - -C ~/
- name: Setup castxml for Mac
4 changes: 3 additions & 1 deletion src/pygccxml/parser/project_reader.py
Original file line number Diff line number Diff line change
@@ -548,11 +548,13 @@ def _relink_declarated_types(self, leaved_classes, declarated_types):
if name == "rebind<std::__tree_node" + \
"<std::basic_string<char>, void *> >":
continue
if name == "type":
continue

msg = []
msg.append(
"Unable to find out actual class definition: '%s'." %
decl_wrapper_type.declaration._name)
name)
msg.append((
"Class definition has been changed from one " +
"compilation to an other."))