Skip to content

[CI/CD] fix Windows build#645

Merged
DeckerSU merged 4 commits intodevfrom
patch-fix-cd-windows-build
Mar 23, 2025
Merged

[CI/CD] fix Windows build#645
DeckerSU merged 4 commits intodevfrom
patch-fix-cd-windows-build

Conversation

@DeckerSU
Copy link

Please don't merge this PR until all workflows in CI complete successfully. If everything goes well, the CD workflow with the Windows build should also succeed, as they are currently the same. I will leave an additional comment when it is ready for merging.

We don't want the build to fail with the next `ubuntu-latest`
update, so for now, we will stick with `ubuntu-22.04`,
which is working perfectly.
@TheComputerGenie
Copy link

It would probably be a good idea, while currently editing such things, to remove the dependency bits that are already installed on the runners in order to same time and simplify maintenance

22.04 - now
24.04/latest - later when updated

temp solution which purpose is to clean artifacts between build
for various platforms
@DeckerSU DeckerSU mentioned this pull request Mar 15, 2025
@DeckerSU DeckerSU assigned smk762 and gcharang and unassigned gcharang and smk762 Mar 15, 2025
@DeckerSU DeckerSU requested review from gcharang and smk762 March 19, 2025 07:51
# search for *.a, *.la, *.o, *.lo, *.Plo, *.Po, *.lai, *.dirstamp in all folders starting from .src, including hidden folders,
# to search only in hidden folders add -path "*/.*" arg to command
find ./src \( -name "*.a" -o -name "*.la" -o -name "*.o" -o -name "*.lo" -o -name "*.Plo" -o -name "*.Po" -o -name "*.lai" -o -name "*.dirstamp" \) -delete

Copy link

Choose a reason for hiding this comment

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

Add echo "Remnant build files deleted!" for positive outcome user feedback

is_git_root=0
else
if [ "$dir" != "$(pwd)" ]; then
echo "$(pwd) is not the root of the Git repository."
Copy link

Choose a reason for hiding this comment

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

add Exiting... to communicate negative outcome user feedback

done

if [ "$dir" == "" ]; then
echo "$(pwd) is not in a Git repository."
Copy link

Choose a reason for hiding this comment

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

add Exiting... to communicate negative outcome user feedback

Copy link
Author

Choose a reason for hiding this comment

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

Fixed. Let's approve and merge it first, since all other PRs go through the Windows build, and it fails because this one hasn't been accepted yet.

@DeckerSU DeckerSU requested a review from smk762 March 21, 2025 16:57
@DeckerSU DeckerSU merged commit 5e3aaa1 into dev Mar 23, 2025
18 checks passed
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.

4 participants