diff options
author | Xiaotian Wu <[email protected]> | 2025-05-20 09:34:48 +0800 |
---|---|---|
committer | Xiaotian Wu <[email protected]> | 2025-05-20 09:45:45 +0800 |
commit | a46f314eab54aed9a59c983583caa065bff7f4a5 (patch) | |
tree | aef103f0b17cc6e3f5cecffb4f841c4fa5314445 /.github/workflows/builds.sh | |
parent | 71241d2e3040cdc9e4d982de2241120da5d38779 (diff) | |
download | atril-github-action.tar.bz2 atril-github-action.tar.xz |
CI: meson and autotools use two jobsgithub-action
Diffstat (limited to '.github/workflows/builds.sh')
-rwxr-xr-x | .github/workflows/builds.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/builds.sh b/.github/workflows/builds.sh index 6f749307..693082be 100755 --- a/.github/workflows/builds.sh +++ b/.github/workflows/builds.sh @@ -16,7 +16,7 @@ infoend() { # Run meson first, then run autotools # Because meson dist requires a clean git workspace # Autotools will modify some files (such as po, etc.), making them dirty. -if [ -f meson.build ]; then +if [[ -f meson.build && $1 == "meson" ]]; then infobegin "Configure (meson)" meson setup _build --prefix=/usr @@ -45,7 +45,7 @@ if [ -f meson.build ]; then infoend fi -if [ -f autogen.sh ]; then +if [[ -f autogen.sh && $1 == "autotools" ]]; then infobegin "Configure (autotools)" NOCONFIGURE=1 ./autogen.sh ./configure --prefix=/usr --enable-compile-warnings=maximum || { |