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 initial GitHub Actions support for lutok #30

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

Conversation

ngie-eign
Copy link
Contributor

@ngie-eign ngie-eign commented Dec 27, 2024

This proposed GitHub Actions workflow file runs tests on MacOS and Ubuntu Linux, similar to what is being proposed in freebsd/atf#93 .

The delta between this change and the one being made in ATF mostly relates to the additional package dependencies, e.g., Lua, and build permutations, e.g., with and without ATF.

Kyua is built from scratch because of issues with dependent packages and runtime linker collisions on both MacOS and Ubuntu. The binary package versions are built against a different version of Lutok, ergo they can have runtime linker collisions.

Example run: https://github.com/ngie-eign/lutok/actions/runs/12518992276 .

This PR requires: #27.

CC: @kevemueller

This is being done to ensure that lutok can leverage a bit more modern
C++ idioms.

Signed-off-by: Enji Cooper <[email protected]>
- Rely on pkg-config or pkgconf instead of lua-config when querying
  lua's build config: lua-config is no longer distributed with many
  distributions.
- Bump the minimum version of lua to 5.3 (the last 5.2 release was
  in 2015).

Signed-off-by: Enji Cooper <[email protected]>
This flag was replaced by `--enable-atf` in 0.5.

Signed-off-by: Enji Cooper <[email protected]>
C++14 is now required to build lutok. Remove all pre-C++11 oxbow code.

Submitted by:	Minsoo Choo <[email protected]>
Signed-off-by:	Enji Cooper <[email protected]>
@ngie-eign ngie-eign requested review from lwhsu, emaste and ihoro December 27, 2024 21:58
@ngie-eign ngie-eign force-pushed the add-gh-actions branch 2 times, most recently from 31cdb21 to d618ddf Compare December 27, 2024 22:25
This proposed GitHub Actions workflow file runs tests on MacOS and
Ubuntu Linux, similar to what is being proposed in
freebsd/atf#93 .

The delta between this change and the one being made in ATF mostly
relates to the additional package dependencies, e.g., Lua, and
build permutations, e.g., with and without ATF.

Kyua is built from scratch because of issues with dependent packages and
runtime linker collisions on both MacOS and Ubuntu. The binary package
versions are built against a different version of Lutok, ergo they can
have runtime linker collisions.

Signed-off-by: Enji Cooper <[email protected]>
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.

1 participant