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

Install missing dependencies for tests.yml #1076

Merged
merged 1 commit into from Feb 8, 2024
Merged

Conversation

aidanholm
Copy link
Member

No description provided.

@aidanholm aidanholm force-pushed the aidanholm-patch-1 branch 11 times, most recently from d6fee51 to 5e68746 Compare February 8, 2024 06:16
@c0dev0id
Copy link
Member

c0dev0id commented Feb 8, 2024

Oh if the CI setup can run again, that would be amazing.

@aidanholm aidanholm force-pushed the aidanholm-patch-1 branch 3 times, most recently from 4395402 to 81117ff Compare February 8, 2024 06:22
@aidanholm aidanholm marked this pull request as ready for review February 8, 2024 06:26
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.
@aidanholm
Copy link
Member Author

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

@aidanholm aidanholm merged commit 2c5f90d into develop Feb 8, 2024
1 check passed
#if GTK_CHECK_VERSION(2,74,0)
#if GLIB_CHECK_VERSION(2,74,0)
Copy link
Member

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.

Comment on lines +22 to +24
sudo luarocks --lua-version 5.1 install luafilesystem
sudo luarocks --lua-version 5.1 install luassert
sudo luarocks --lua-version 5.1 install luacheck
Copy link
Member

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?

Copy link
Member Author

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

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