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

Add: [Actions] test if the repository builds successful #16

Merged
merged 1 commit into from Feb 22, 2020

Conversation

TrueBrain
Copy link
Member

No description provided.

python -m pip install https://github.com/OpenTTD/nml/archive/master.zip
- name: Build
run: |
make Makefile.vcs Makefile.gfx
Copy link
Member

Choose a reason for hiding this comment

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

Why is this extra rule necessary? By my reading, they should be built by the standard make rules...

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah ... current Makefile is a bit funky. It first includes these files, and later generates them. This gives both warnings, and wrong variable-values.

So a quick way to solve this is to generate them before running the rest.

Makefile needs some serious attention ;)

Copy link
Member

Choose a reason for hiding this comment

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

I thought that including makefiles like that was fine - it should just do a file/rule check same as any other rule. What warnings are you seeing?

Copy link
Member Author

Choose a reason for hiding this comment

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

Makefile:158: Makefile.vcs: No such file or directory
Makefile:256: Makefile.gfx: No such file or directory

I am sure it can be fixed one way or the other, but I rather first get this to work, and look into these details later. I will add a note how-ever, as that is currently missing.

@TrueBrain TrueBrain force-pushed the github_action2 branch 2 times, most recently from 79d90f9 to 083f22c Compare February 22, 2020 20:04
LordAro
LordAro previously approved these changes Feb 22, 2020
@TrueBrain TrueBrain merged commit f3f62e2 into OpenTTD:master Feb 22, 2020
@TrueBrain TrueBrain deleted the github_action2 branch February 22, 2020 20:42
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.

None yet

2 participants