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

Ssandler get ci working #538

Merged
merged 7 commits into from
Jan 24, 2023
Merged

Conversation

ssandler
Copy link
Contributor

HHAST CI has been broken for over a month due to there not being a build on latest ubuntu, and also due to a schema change in the AST which broke parsing xhp children.

This PR updates the CI to only run on the latest HHVM LTS (4.168) and on Ubuntu 20.04, where there is a working build. It also updates the schema to work with that release, and updates composer.json required HHVM version.

@@ -47,7 +47,7 @@ jobs:
- uses: actions/checkout@v3
- uses: hhvm/actions/hack-lint-test@master
with:
hhvm: nightly
hhvm: 4.168
Copy link
Contributor

Choose a reason for hiding this comment

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

This effectively disables the job and HHAST auto-updating for nightlies - that might be fine (@Wilfred ? ), but if so, it's probably better to remove the job rather than change this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Makes sense. It's currently broken on nightly, but for different reasons. Some other breaking change upstream causes it to fail https://github.com/hhvm/hhast/actions/runs/3991497523/jobs/6846355294

I don't think we can keep up with getting this to work for nightlies so might be ok to just go back to manual schema updates for the foreseeable future. Could remove or comment out this job.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I removed the job and also reverted the docs PR about it back to the old instructions, which I followed to get the codegen working.

@Wilfred Wilfred merged commit 9fb1505 into hhvm:main Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants