Skip to content

ci: re-enable windows CI [main] #30907

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
Aug 14, 2025
Merged

Conversation

alan-agius4
Copy link
Collaborator

@alan-agius4 alan-agius4 commented Aug 13, 2025

@alan-agius4 alan-agius4 force-pushed the try-use-ubuntu branch 5 times, most recently from 2d242b3 to 0c0e931 Compare August 13, 2025 16:01
@alan-agius4 alan-agius4 changed the title Try use ubuntu Windows CI fix Aug 13, 2025
@alan-agius4 alan-agius4 force-pushed the try-use-ubuntu branch 7 times, most recently from 04726a6 to 1ceddef Compare August 13, 2025 19:17
@angular-robot angular-robot bot added the area: build & ci Related the build and CI infrastructure of the project label Aug 13, 2025
@alan-agius4 alan-agius4 changed the title Windows CI fix ci: re-enable window CI Aug 14, 2025
@alan-agius4 alan-agius4 added target: minor This PR is targeted for the next minor release and removed area: @schematics/angular area: @angular/cli area: build & ci Related the build and CI infrastructure of the project labels Aug 14, 2025
@alan-agius4 alan-agius4 requested a review from devversion August 14, 2025 08:08
@alan-agius4 alan-agius4 added the action: review The PR is still awaiting reviews from at least one requested reviewer label Aug 14, 2025
@alan-agius4 alan-agius4 marked this pull request as ready for review August 14, 2025 08:08
Copy link
Member

@devversion devversion left a comment

Choose a reason for hiding this comment

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

Thank you!

- name: Install node modules in WSL (re-using from previous install/cache restore)
run: |
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
Copy link
Member

Choose a reason for hiding this comment

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

Interesting. Is this not installed from the bashrc?

Copy link
Collaborator Author

@alan-agius4 alan-agius4 Aug 14, 2025

Choose a reason for hiding this comment

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

I tried placing them in the rc echo "[ -s \"$NVM_DIR/nvm.sh\" ] && \\. \"$NVM_DIR/nvm.sh\"" >> "$HOME/.bashrc" but I did not work.

Not sure what is wrong, I spent too much time on that and I gave up

- name: Install node modules in WSL (re-using from previous install/cache restore)
run: |
export NVM_DIR="$HOME/.nvm"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is needed to be in every step otherwise pnpm and node are not loaded.

@alan-agius4 alan-agius4 changed the title ci: re-enable window CI ci: re-enable windows CI Aug 14, 2025
@alan-agius4 alan-agius4 added action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Aug 14, 2025
@angular-robot angular-robot bot added the area: build & ci Related the build and CI infrastructure of the project label Aug 14, 2025
@alan-agius4 alan-agius4 changed the title ci: re-enable windows CI ci: re-enable windows CI [main] Aug 14, 2025
@alan-agius4 alan-agius4 force-pushed the try-use-ubuntu branch 4 times, most recently from 5cad872 to 646bcca Compare August 14, 2025 10:00
@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews labels Aug 14, 2025
This commit fixes and re-enables windows CI.

Upstream fixes:
- devversion/rules_browsers#18
- angular/dev-infra#2966
@alan-agius4 alan-agius4 merged commit c8a103b into angular:main Aug 14, 2025
30 checks passed
@alan-agius4 alan-agius4 deleted the try-use-ubuntu branch August 14, 2025 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project target: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants