Skip to content

CI: Ensure Windows job fails on error #283

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 1 commit into from
May 27, 2025

Conversation

akien-mga
Copy link
Member

@akien-mga akien-mga commented May 26, 2025

Seems like we were running into this infamous issue:
actions/runner-images#6668

@akien-mga akien-mga force-pushed the ci-windows-fail-on-error branch 2 times, most recently from c89caab to 4b5c2bd Compare May 26, 2025 22:37
@Calinou Calinou added the bug label May 26, 2025
@akien-mga
Copy link
Member Author

akien-mga commented May 26, 2025

Seems like this fixes the CI issue, as it's now properly reporting the broken Windows build from #199 (comment).

We should fix that linking error before merging this PR.

@Faless Faless mentioned this pull request May 26, 2025
@akien-mga akien-mga force-pushed the ci-windows-fail-on-error branch from 4b5c2bd to c128cc6 Compare May 27, 2025 07:37
@akien-mga akien-mga marked this pull request as ready for review May 27, 2025 07:43
@akien-mga akien-mga force-pushed the ci-windows-fail-on-error branch from c128cc6 to e6f6fed Compare May 27, 2025 08:16
Default `pwsh` is apparently not properly configured to fail fast,
but `powershell` is, whatever is the difference.

Minor tweaks to CI setup.
@akien-mga akien-mga force-pushed the ci-windows-fail-on-error branch from e6f6fed to 51dcc3c Compare May 27, 2025 08:27
Comment on lines -44 to -47
- uses: actions/setup-python@v2
with:
python-version: "3.x"
architecture: "x64"
Copy link
Member Author

Choose a reason for hiding this comment

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

Removed this as Python is already default installed. One consequence was that the user pip install path was not in PATH anymore, so I changed the installs to be global (which is what we do for Godot too).

run: |
pip3 install --user scons
scons platform=windows target=editor generate_bindings=yes -j $env:NUMBER_OF_PROCESSORS
Copy link
Member Author

Choose a reason for hiding this comment

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

Removed the explicit ncpu stuff as this is the default behavior of godot-cpp now.

@akien-mga akien-mga merged commit 392b3d6 into godotengine:master May 27, 2025
4 checks passed
@akien-mga akien-mga deleted the ci-windows-fail-on-error branch May 27, 2025 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants