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 GH Action (CI) #41

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Add GH Action (CI) #41

wants to merge 10 commits into from

Conversation

jessp01
Copy link

@jessp01 jessp01 commented Feb 9, 2025

The GH action:

  • Builds Devilspie 2 with GCC 12 and 13
  • Once successfully done, devilspie2 is invoked with -v, -w and -l

I've moved the invocation of show_version() (and all other show_.*version() functions) to the beginning of main (after arg parsing check but before gtk_init()) to enable them to work even when an X display is not available.
While I've encountered it in CI context, I believe it's a good change to make in general.

I've also added gettext to the list of dependencies in INSTALL, as make fails without it (it requires msgfmt).

Note that, at present, the code will not build with Clang 17 and 18, see log. These checks should be added once corrected.

@jessp01 jessp01 mentioned this pull request Feb 9, 2025
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.

2 participants