github: add meson build target
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
aa57994f73
commit
80ed8688d1
|
@ -17,6 +17,7 @@ PACKAGES=(
|
||||||
ntp
|
ntp
|
||||||
socat
|
socat
|
||||||
asciidoctor
|
asciidoctor
|
||||||
|
meson
|
||||||
)
|
)
|
||||||
|
|
||||||
PACKAGES_OPTIONAL=(
|
PACKAGES_OPTIONAL=(
|
||||||
|
|
|
@ -51,6 +51,12 @@ for phase in "${PHASES[@]}"; do
|
||||||
INSTALL)
|
INSTALL)
|
||||||
make install DESTDIR=/tmp/dest
|
make install DESTDIR=/tmp/dest
|
||||||
;;
|
;;
|
||||||
|
MESONCONF)
|
||||||
|
meson build
|
||||||
|
;;
|
||||||
|
MESONBUILD)
|
||||||
|
ninja -C build
|
||||||
|
;;
|
||||||
CHECK)
|
CHECK)
|
||||||
if [[ "$SANITIZE" == "yes" ]]; then
|
if [[ "$SANITIZE" == "yes" ]]; then
|
||||||
# All the following black magic is to make test/eject/umount work, since
|
# All the following black magic is to make test/eject/umount work, since
|
||||||
|
|
|
@ -37,6 +37,22 @@ jobs:
|
||||||
run: sudo -E .github/workflows/cibuild.sh CHECK
|
run: sudo -E .github/workflows/cibuild.sh CHECK
|
||||||
- name: Make install
|
- name: Make install
|
||||||
run: .github/workflows/cibuild.sh INSTALL
|
run: .github/workflows/cibuild.sh INSTALL
|
||||||
|
meson:
|
||||||
|
needs: build
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
COMPILER: gcc
|
||||||
|
COMPILER_VERSION: 10
|
||||||
|
SANITIZE: no
|
||||||
|
steps:
|
||||||
|
- name: Repository checkout
|
||||||
|
uses: actions/checkout@v1
|
||||||
|
- name: Ubuntu setup
|
||||||
|
run: sudo -E .github/workflows/cibuild-setup-ubuntu.sh
|
||||||
|
- name: Meson configure
|
||||||
|
run: .github/workflows/cibuild.sh MESONCONF
|
||||||
|
- name: Meson build
|
||||||
|
run: .github/workflows/cibuild.sh MESONBUILD
|
||||||
distcheck:
|
distcheck:
|
||||||
needs: build
|
needs: build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Reference in New Issue