Skip to content

Commit

Permalink
ci: Verification should pass regardless of autoconf artifacts
Browse files Browse the repository at this point in the history
Allow ci_verify_configure.sh to pass regardless whether the configure
script and the associated configure control files are present.
This is necessary for the branches newer than 'libpng16', where these
artifacts are no longer auto-generated by default.
  • Loading branch information
ctruta committed Oct 7, 2024
1 parent 558dfbb commit 09ec97e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ci/ci_verify_configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ function ci_build {
ci_spawn export CFLAGS="${CFLAGS:-"-O2"} -fsanitize=$CI_SANITIZERS"
ci_spawn export LDFLAGS="${LDFLAGS}${LDFLAGS:+" "}-fsanitize=$CI_SANITIZERS"
}
# Spawn "autogen.sh" if the configure script is not available.
[[ -x "$CI_SRC_DIR/configure" ]] || {
ci_spawn "$CI_SRC_DIR/autogen.sh" --maintainer
}
# And... build!
ci_spawn mkdir -p "$CI_BUILD_DIR"
ci_spawn cd "$CI_BUILD_DIR"
Expand Down

0 comments on commit 09ec97e

Please sign in to comment.