Skip to content

Add Linux build to Github Actions#3657

Merged
vadi2 merged 27 commits intoMudlet:developmentfrom
vadi2:add-linux-build
Apr 21, 2020
Merged

Add Linux build to Github Actions#3657
vadi2 merged 27 commits intoMudlet:developmentfrom
vadi2:add-linux-build

Conversation

@vadi2
Copy link
Copy Markdown
Member

@vadi2 vadi2 commented Apr 20, 2020

Brief overview of PR changes/additions

Add Linux build to Github Actions

Motivation for adding to Mudlet

Run Linux build alongside macOS in Actions CI & see how well it stacks up to Travis.

Other info (issues closed, discussion etc)

Adds the Linux build only with "32 additions and 7 deletions." 😮

(doesn't do any packaging, though...)

@vadi2 vadi2 requested a review from a team April 20, 2020 19:20
@add-deployment-links
Copy link
Copy Markdown

add-deployment-links bot commented Apr 20, 2020

Hey there! Thanks for helping Mudlet improve. 🌟

Test versions

You can directly test the changes here:

No need to install anything - just unzip and run.
Let us know if it works well, and if it doesn't, please give details.

Copy link
Copy Markdown
Member

@demonnic demonnic left a comment

Choose a reason for hiding this comment

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

woohoo!

os: [ubuntu-latest, macos-latest]
include:
# - os: windows-latest
# triplet: x64-windows
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

That might have to be x32-windows 😆

if: runner.os == 'macOS'
run: |
# these aren't available or don't work well in vcpkg
brew install pkg-config libzzip libzip
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It is a side issue but libzzip is no longer needed on MacOs - and if we change the luarock we bundle for the other OS from luazip to lua-zip it won't be for them either since #3648 went in!

Copy link
Copy Markdown
Member

@SlySven SlySven left a comment

Choose a reason for hiding this comment

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

I'm not really in a position to judge but since it does seem to compile and link it is looking promising.

@vadi2 vadi2 merged commit a9652b8 into Mudlet:development Apr 21, 2020
@vadi2 vadi2 deleted the add-linux-build branch April 21, 2020 04:05
Chris7 pushed a commit to Chris7/Mudlet that referenced this pull request Jan 2, 2022
* Add a Ubuntu build

* Install homebrew dependencies only on macOS

* Add Linux dependencies separate

* Don't stop other builds on fail

* Install libzip-dev on Linux

* Sudo please

* Try installing libglu1-mesa-dev

* Install Pulse dev libraries

* Add a workaround for Lua linking

* Correct YAML

* Back to a single line

* Debug locations of libraries

* Correct an extra /

* Build Mudlet with tracing

* Try -GNinja Multi-Config

* Try not specifying a generator

* Add link information against libdl.so as well (Mudlet#33)

* Add link information against libdl.so as well

* Remove (harmful?) lua library path definition

* Show built output in the end

* Added a run tests flag

* Try appending gcc argument as well

* Debug plugin loading

* Use a single, generic compiler line

* Remove the x's

* Install libxkbcommon-x11-0

* Try launching Achaea profile

* Finalise Linux CI build

* Remove comment

Co-authored-by: keneanung <keneanung@googlemail.com>
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.

4 participants