8000 CI fixes by ant2a · Pull Request #325 · accellera-official/cci · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

CI fixes #325

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 8 commits into from
May 13, 2025
Merged

CI fixes #325

merged 8 commits into from
May 13, 2025

Conversation

ant2a
Copy link
Contributor
@ant2a ant2a commented May 13, 2025

Hi all,

This PR addresses some issues with the CI of this repository.
I've done the following:

  • Removed deprecated GitHub runners and replaced them with newer ones:
    The workflows now run on Ubuntu 22.04/24.04, Windows 2022, and macOS 13 (x86).
  • Fixed issues with Clang on Windows:
    The GitHub Windows runner ships with LLVM, which uses Microsoft's C runtime. This PR installs and uses a version of Clang that uses the MinGW runtime instead.
  • Fixed a minor compilation issue of an example and some test script improvements

Unfortunately, there is still a strange issue with the tests for MinGW GCC on Windows. When run in the CI (using the CMake "check" target), the tests segfault. If the tests are then re-run by calling "ctest" directly, the tests pass without any problems. The problem also does not occur when I run the "check" target manually over an SSH connection to the CI runner (using mxschmitt/action-tmate).

I've disabled testing for this platform for now and replaced it with a warning. This bug should be tracked in a separate issue.

BR
Antonios

ant2a added 4 commits May 13, 2025 10:42
Replace deprecated runners with newer ones.
windows-2019 will be deprecated on 2025-06-30.

Signed-off-by: Antonios Salios <antonios.salios@rwth-aachen.de>
Signed-off-by: Antonios Salios <antonios.salios@rwth-aachen.de>
Signed-off-by: Antonios Salios <antonios.salios@rwth-aachen.de>
Signed-off-by: Antonios Salios <antonios.salios@rwth-aachen.de>
ant2a added 4 commits May 13, 2025 18:06
Signed-off-by: Antonios Salios <antonios.salios@rwth-aachen.de>
A preprocessor directive, introdued in SystemC 2.3.4, is used in QuickThreads
asm files, but the preprocessor is not called by the build system. This
was fixed with SystemC 3.0.0.

Since this directive only make sense on Linux systems, the SystemC
build will fail on Windows/macOS for 2.3.4.

See: https://github.com/accellera-official/systemc/blob/5fc1469339775b54b1fcc2020ac744a58be5b50e/src/sysc/packages/qt/md/iX86_64.s#L76

Signed-off-by: Antonios Salios <antonios.salios@rwth-aachen.de>
The tests are segfaulting in the CI when built with MinGW GCC. They pass
when "ctest" is called directly, or when the CMake "check" target is
called in an SSH session on the CI runner...

Disable testing for this platform for now.

Signed-off-by: Antonios Salios <antonios.salios@rwth-aachen.de>
Signed-off-by: Antonios Salios <antonios.salios@rwth-aachen.de>
@ant2a
Copy link
Contributor Author
ant2a commented May 13, 2025

The following issues should be fixed with this PR: #303, #304

@aut0 aut0 merged commit 09c37d9 into accellera-official:main May 13, 2025
@ant2a ant2a deleted the ci branch May 13, 2025 20:31
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
0