aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2022-04-16 15:13:08 -0500
committerGitHub <noreply@github.com>2022-04-16 15:13:08 -0500
commitfdfa6dbb0e69742029d53f0e163b8e7e7e6860f5 (patch)
tree6a300ef3e1b25e22224b042cc8a8c07b43709950 /.github
parent0b3f8750e7d307987eef9e63e327488a81c29a71 (diff)
rewrite tests (#515)
* rewrite tests to work with meson This ports our tests to meson and makes them able to be run in parallel. * add tests to ci * rewrite test/check-trailing-newlines in bash This test was using a GNU sed command which does not work on Alpine Linux.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci-alpine-linux.yml5
-rw-r--r--.github/workflows/ci-ubuntu.yml6
2 files changed, 10 insertions, 1 deletions
diff --git a/.github/workflows/ci-alpine-linux.yml b/.github/workflows/ci-alpine-linux.yml
index 40920751..3c5fb06d 100644
--- a/.github/workflows/ci-alpine-linux.yml
+++ b/.github/workflows/ci-alpine-linux.yml
@@ -23,6 +23,9 @@ jobs:
- run: meson setup builddir/
env:
CC: gcc
- - run: ninja -C builddir
+ - run: meson compile -C builddir
+ env:
+ CC: gcc
+ - run: meson test --verbose -C builddir
env:
CC: gcc
diff --git a/.github/workflows/ci-ubuntu.yml b/.github/workflows/ci-ubuntu.yml
index 5a5c9ed7..1be9f0c5 100644
--- a/.github/workflows/ci-ubuntu.yml
+++ b/.github/workflows/ci-ubuntu.yml
@@ -16,6 +16,9 @@ jobs:
- run: ninja -C builddir
env:
CC: gcc
+ - run: ninja test --verbose -C builddir
+ env:
+ CC: gcc
clang-glibc:
@@ -30,3 +33,6 @@ jobs:
- run: ninja -C builddir
env:
CC: clang
+ - run: ninja test --verbose -C builddir
+ env:
+ CC: clang