-
Notifications
You must be signed in to change notification settings - Fork 186
CI: Add msys2 UCRT64 and CLANGARM64 targets #132
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
base: main
Are you sure you want to change the base?
CI: Add msys2 UCRT64 and CLANGARM64 targets #132
Conversation
This commit adds two new platform for cmake and regressions tests - MSYS2 clangarm64 (Windows on ARM64 runners) - MSYS2 UCRT64 (Windows Latest runner) On those platforms, systemc is built as a shared library. Signed-off-by: Jerome Haxhiaj <jhaxhiaj@qti.qualcomm.com>
maehne
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
| install: git mingw-w64-clang-aarch64-clang mingw-w64-clang-aarch64-cmake mingw-w64-clang-aarch64-ninja | ||
| - name: CI-Build | ||
| run: | | ||
| ./msys2-ci-build.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this script should be at the top level.
Maybe we should consider moving the docker/ folder into a ci/ folder and put everything there or introduce a utils/ folder where this kind of script can go.
| BUILD_SHARED_LIBS="ON" | ||
|
|
||
| SYSTEMC_CI_DEFAULT_TARGET="systemc" | ||
| SYSTEMC_CI_REGRESSION_TARGET="check-tests" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The current docker entrypoint.sh does:
cmake
cmake --build
cmake --install
make ... check
Is this doing the same?
If so, I am in favor of unifying this accross workflows so that all CI flows use the same build targets.
| -D CMAKE_BUILD_TYPE=${BUILD_TYPE} \ | ||
| -D CMAKE_INSTALL_PREFIX="${INSTALL_DIR}" | ||
|
|
||
| # Build the project |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can remove all comments (that point out obvious things) from this script.
| BUILD_DIR="build" | ||
| INSTALL_DIR="$(pwd)/install" | ||
| REGRESSION_TESTS="OFF" | ||
| BUILD_SHARED_LIBS="ON" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be nice to test both, shared and static library flows.
This commit adds two new platform for cmake and regressions tests
On those platforms, systemc is built as a shared library.