Skip to content
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

CI: Zephyr: Get latest version of the zephyr sdk #274

Merged
merged 1 commit into from
Oct 27, 2023

Conversation

arnopo
Copy link
Contributor

@arnopo arnopo commented Oct 25, 2023

To avoid having any misalignment between Zephyr and the SDK during CI tests, consider getting the latest version of the Zephyr SDK automatically instead of hardcoding it.
This approach should ensure that the latest version of sdk is always used.

To avoid having any misalignment between Zephyr and the SDK during
CI tests, consider getting the latest version of the Zephyr SDK
automatically instead of hardcoding it.
This approach should ensure that the latest version of sdk is always used.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Copy link
Collaborator

@tnmysh tnmysh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

ZEPHYR_SDK_SETUP_DIR=zephyr-sdk-$ZEPHYR_SDK_VERSION
ZEPHYR_SDK_SETUP_TAR=${ZEPHYR_SDK_SETUP_DIR}_linux-x86_64.tar.xz
ZEPHYR_SDK_DOWNLOAD_URL=$ZEPHYR_SDK_DOWNLOAD_FOLDER/$ZEPHYR_SDK_SETUP_TAR
ZEPHYR_SDK_API_FOLDER=https://api.github.com/repos/zephyrproject-rtos/sdk-ng/releases/latest
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will latest ever point to an -rcN release? If so is that a good thing or not?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will latest ever point to an -rcN release? If so is that a good thing or not?
Yes it could I suppose. The risk is regression. I propose to test it in this way and come back to a hardcoded version in case of issue.

@arnopo
Copy link
Contributor Author

arnopo commented Oct 27, 2023

I am integrating it so that the CI works correctly.

@arnopo arnopo merged commit bc7d382 into OpenAMP:main Oct 27, 2023
3 checks passed
@arnopo arnopo added this to the Release V2023.10 milestone Oct 27, 2023
@arnopo arnopo deleted the ci_zephyr branch May 20, 2024 07:58
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.

3 participants