Native-CI/action-meson
1
0
Fork
You've already forked action-meson
0
An action for compiling a project using meson.
  • Shell 76.4%
  • Meson 10.7%
  • C 6.6%
  • Dockerfile 6.3%
Jens Finkhaeuser eec54e3ccd
Some checks failed
/ test (bash pkg-config) (push) Failing after 51s
/ test (clang, clang++) (push) Failing after 50s
/ test (clang, clang++, true) (push) Failing after 50s
/ test (gcc, g++) (push) Failing after 49s
/ test (gcc, true, g++) (push) Failing after 50s
Add test suite to action args
2023年12月29日 15:04:52 +01:00
.forgejo/workflows Use test packages that exist 2023年12月29日 11:24:03 +01:00
test Newline after output 2023年11月24日 16:22:19 +01:00
.gitignore Finish action.sh and add minimap pipfile and meson project to run self-tests 2023年11月24日 16:21:25 +01:00
action.sh Add test suite to action args 2023年12月29日 15:04:52 +01:00
action.yml Add test suite to action args 2023年12月29日 15:04:52 +01:00
Dockerfile Update docker base image to include valac 2023年12月19日 11:48:20 +01:00
LICENSE Initial commit 2023年11月24日 11:11:53 +00:00
meson.build Finish action.sh and add minimap pipfile and meson project to run self-tests 2023年11月24日 16:21:25 +01:00
Pipfile Finish action.sh and add minimap pipfile and meson project to run self-tests 2023年11月24日 16:21:25 +01:00
README.md readme 2023年12月29日 09:59:00 +01:00

action-meson

An action for compiling a project using meson. If there is a top-level Pipfile or Pipfile.lock present, the action will try to install the dependencies specified here. This way, you can use newer meson versions than the action's base image contains.

The action base image is whatever is latest from cpp-meson.

Usage

jobs:foo:runs-on:[docker]steps:- uses:https://codeberg.org/Native-CI/action-meson@v1with:cc:<c compiler>cxx:<cxx compiler>analysis:<true|false>run_tests:<true|false>packages:"foo bar baz"
  • The C compiler can be one of gcc or clang for the above image.
  • The C++ compiler can be one of g++ or clang++ for the above image.
  • If the C compiler is gcc, then having analysis set to true will enable gcov, and running the tests will produce coverage data.
  • If run_tests is true, the tests configured in the meson.build file will be run.

License

MIT