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
Install missing dependencies for tests.yml #1076
Conversation
d6fee51
to
5e68746
Compare
Oh if the CI setup can run again, that would be amazing. |
4395402
to
81117ff
Compare
This adds basic coverage only -- e.g. non-luajit is not covered (and should be), as well as other Linux distributions. `make` and `make run-tests` are separated into separate steps so that the build output (which is pretty verbose) can be collapsed separately. The Github Actions builders are currently using Ubuntu 22.04 LTS, which contains a slightly older glib without the `G_APPLICATION_DEFAULT_FLAGS` symbol; turns out a conditional check was already there but was slightly off, so fixing that in passing.
81117ff
to
c4d0532
Compare
Should be ready :) This only covers the luajit + ubuntu combo, would be good to get some more up, but at least the tests will run with every commit / PR |
#if GTK_CHECK_VERSION(2,74,0) | ||
#if GLIB_CHECK_VERSION(2,74,0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unrelated to the PR, but good catch.
sudo luarocks --lua-version 5.1 install luafilesystem | ||
sudo luarocks --lua-version 5.1 install luassert | ||
sudo luarocks --lua-version 5.1 install luacheck |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why from luarocks and not via apt? lua-check lua-luassert lua-filesystem
are available for lua 5.1 and my debian machine here. So I assume they are available here too. Or not?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, the reason is that I simply forgot about that possibility :) sent #1077
No description provided.