Skip to content

Conversation

@johnnynunez
Copy link
Contributor

@johnnynunez johnnynunez commented Feb 14, 2025

This pull request includes several updates to the .github/workflows/tests.yml file to enhance the CI workflow by adding architecture specifications and setting up CastXML for multiple platforms. The most important changes include adding architecture specifications for various OS configurations, updating the macOS version, adding support for Windows, and setting up CastXML for different platforms.

Workflow Enhancements:

  • Added arch specifications for various OS configurations, including ubuntu-22.04, ubuntu-24.04, and macos-15. [1] [2] [3] [4] [5] [6] [7] [8] [9]
  • Updated macOS version from macos-13 to macos-15 and specified arm64 architecture.

Platform Support:

  • Added support for windows-2025 with amd64 architecture.

CastXML Setup:

  • Setup CastXML for Linux x86_64 on ubuntu-22.04 and ubuntu-24.04.
  • Setup CastXML for Linux ARM64 on ubuntu-22.04 and ubuntu-24.04.
  • Setup CastXML for macOS x86_64 and ARM on macos-15.
  • Setup CastXML for Windows amd64 and ARM.

@iMichka
Copy link
Collaborator

iMichka commented Feb 14, 2025

Cool; this is what I wanted to see :) the castmxl changes in a separate pull request :)

I will make a few more changes to CI, you will probably have to rebase here at one point, but this PR is way better :)

@johnnynunez johnnynunez reopened this Feb 17, 2025
@johnnynunez
Copy link
Contributor Author

johnnynunez commented Feb 17, 2025

@iMichka good news! Only two tests are failing and macos arm is working with c++17
Appears now the famous error: #197

============================= test session starts ==============================
platform linux -- Python 3.13.2, pytest-8.3.4, pluggy-1.5.0
rootdir: /home/runner/work/pygccxml/pygccxml
configfile: pyproject.toml
collected 286 items

tests/test_algorithms_cache.py .. [ 0%]
tests/test_argument_without_name.py . [ 1%]
tests/test_array_argument.py . [ 1%]
tests/test_array_bug.py ....... [ 3%]
tests/test_attributes.py .. [ 4%]
tests/test_better_templates_matcher.py . [ 4%]
tests/test_bit_fields.py . [ 5%]
tests/test_cache_enums.py . [ 5%]
tests/test_cached_source_file.py . [ 5%]
tests/test_call_invocation.py ...... [ 8%]
tests/test_calldef_matcher.py . [ 8%]
tests/test_calling_convention.py . [ 8%]
tests/test_castxml_wrong_epic.py . [ 9%]
tests/test_ccflags.py . [ 9%]
tests/test_comments.py . [ 9%]
tests/test_complex_types.py . [ 10%]
tests/test_config.py . [ 10%]
tests/test_const_volatile_arg.py . [ 10%]
tests/test_copy_constructor.py . [ 11%]
tests/test_copy_constructor2.py . [ 11%]
tests/test_core.py ..................................................... [ 30%]
................ [ 35%]
tests/test_cpp_standards.py . [ 36%]
tests/test_create_decl_string.py . [ 36%]
tests/test_decl_printer.py .. [ 37%]
tests/test_decl_string.py ... [ 38%]
tests/test_declaration_files.py . [ 38%]
tests/test_declaration_matcher.py ... [ 39%]
tests/test_declarations.py ................ [ 45%]
tests/test_declarations_cache.py ... [ 46%]
tests/test_declarations_comparison.py .... [ 47%]
tests/test_dependencies.py .... [ 48%]
tests/test_deprecation.py . [ 49%]
tests/test_directory_cache.py .... [ 50%]
tests/test_dynamic_exception.py . [ 51%]
tests/test_elaborated_types.py . [ 51%]
tests/test_example.py . [ 51%]
tests/test_file_cache.py .. [ 52%]
tests/test_filters_tester.py ..... [ 54%]
tests/test_find_container_traits.py ...... [ 56%]
tests/test_find_noncopyable_vars.py . [ 56%]
tests/test_free_operators.py . [ 56%]
tests/test_function_pointer.py . [ 57%]
tests/test_function_traits.py . [ 57%]
tests/test_gccxml10184.py . [ 58%]
tests/test_gccxml10185.py . [ 58%]
tests/test_has_binary_operator_traits.py .... [ 59%]
tests/test_hash.py ... [ 60%]
tests/test_hierarchy_traveling.py .. [ 61%]
tests/test_inline_specifier.py . [ 61%]
tests/test_map_gcc5.py . [ 62%]
tests/test_namespace_matcher.py ... [ 63%]
tests/test_non_copyable_classes.py . [ 63%]
tests/test_non_copyable_recursive.py .. [ 64%]
tests/test_null_comparison.py . [ 64%]
tests/test_order.py . [ 65%]
tests/test_overrides.py . [ 65%]
tests/test_parser_raise.py . [ 65%]
tests/test_patcher.py ....... [ 68%]
tests/test_pattern_parser.py ... [ 69%]
tests/test_plain_c.py . [ 69%]
tests/test_project_reader_correctness.py .. [ 70%]
tests/test_remove_template_defaults.py FFFFFFFFFFFFF [ 74%]
tests/test_smart_pointer.py .... [ 76%]
tests/test_source_reader.py . [ 76%]
tests/test_start_with_declarations.py ... [ 77%]
tests/test_string_traits.py .. [ 78%]
tests/test_templates.py ..... [ 80%]
tests/test_text_reader.py . [ 80%]
tests/test_type_as_exception_bug.py . [ 80%]
tests/test_type_traits.py ................................ [ 91%]
tests/test_typedefs.py .. [ 92%]
tests/test_unnamed_classes.py ... [ 93%]
tests/test_unnamed_enums_bug.py ... [ 94%]
tests/test_utils.py .. [ 95%]
tests/test_va_list_tag_removal.py .. [ 96%]
tests/test_variable_matcher.py .F [ 96%]
tests/test_vector_traits.py ..... [ 98%]
tests/test_warn_missing_include_dirs.py . [ 98%]
tests/test_xml_generators.py .. [ 99%]
tests/test_xmlfile_reader.py . [100%]

@iMichka
Copy link
Collaborator

iMichka commented Feb 19, 2025

@johnnynunez I have merged #246.

Can you rebase this one?

Can you also reduce the change to:

  • Adding matrix.arch x86_64
  • Setup CastXML for Linux x86_64 with the new castxml version

Let's get these 2 steps done first.
We can add macOS 15 + ARM in another separate pull request.

@johnnynunez johnnynunez reopened this Feb 19, 2025
@johnnynunez johnnynunez changed the title PART 1: castxml 0.6.11 PART 1: castxml 0.6.11 x86_64 Feb 19, 2025
@johnnynunez johnnynunez closed this by deleting the head repository Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants