Native-CI/action-meson
An action for compiling a project using meson.
- Shell 76.4%
- Meson 10.7%
- C 6.6%
- Dockerfile 6.3%
|
|
||
|---|---|---|
| .forgejo/workflows | Use test packages that exist | |
| test | Newline after output | |
| .gitignore | Finish action.sh and add minimap pipfile and meson project to run self-tests | |
| action.sh | Add test suite to action args | |
| action.yml | Add test suite to action args | |
| Dockerfile | Update docker base image to include valac | |
| LICENSE | Initial commit | |
| meson.build | Finish action.sh and add minimap pipfile and meson project to run self-tests | |
| Pipfile | Finish action.sh and add minimap pipfile and meson project to run self-tests | |
| README.md | readme | |
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
gccorclangfor the above image. - The C++ compiler can be one of
g++orclang++for the above image. - If the C compiler is
gcc, then havinganalysisset totruewill enable gcov, and running the tests will produce coverage data. - If
run_testsis true, the tests configured in themeson.buildfile will be run.