CI: add an Alpine build with MUSL
No binary (build failed)
—
$ git checkout -f 33849e43221b58ff4ad163affb329905b5a70826
Previous HEAD position was 023aa7b98a docs: fix fuzzing documentation link
HEAD is now at 33849e4322 CI: add an Alpine build with MUSL
$ git clean -fdx
Removing Makefile.in
Removing aclocal.m4
Removing autom4te.cache/
Removing compile
Removing confdefs.h
Removing config.guess
Removing config.log
Removing config.sub
Removing configure
Removing conftest.c
Removing depcomp
Removing docs/Makefile.in
Removing docs/cmdline-opts/Makefile.in
Removing docs/examples/Makefile.in
Removing docs/libcurl/Makefile.in
Removing docs/libcurl/opts/Makefile.in
Removing include/Makefile.in
Removing include/curl/Makefile.in
Removing install-sh
Removing lib/Makefile.in
Removing lib/curl_config.h.in
Removing ltmain.sh
Removing m4/libtool.m4
Removing m4/ltoptions.m4
Removing m4/ltsugar.m4
Removing m4/ltversion.m4
Removing m4/lt~obsolete.m4
Removing missing
Removing packages/Makefile.in
Removing packages/vms/Makefile.in
Removing run-compiler
Removing scripts/Makefile.in
Removing src/Makefile.in
Removing test-driver
Removing tests/Makefile.in
Removing tests/certs/Makefile.in
Removing tests/certs/scripts/Makefile.in
Removing tests/data/Makefile.in
Removing tests/http/Makefile.in
Removing tests/http/clients/Makefile.in
Removing tests/libtest/Makefile.in
Removing tests/server/Makefile.in
Removing tests/unit/Makefile.in
$ autoreconf -fi
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: Remember to add 'LT_INIT' to configure.ac.
configure.ac:123: installing './compile'
configure.ac:439: installing './config.guess'
configure.ac:439: installing './config.sub'
configure.ac:123: installing './install-sh'
configure.ac:129: installing './missing'
docs/examples/Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
$ bash -c find . -name config.guess -exec cp /usr/share/misc/config.guess {} \;
$ bash -c find . -name config.sub -exec cp /usr/share/misc/config.sub {} \;
$ chmod +x configure
$ ./configure --disable-shared --without-ssl --disable-docs
[TIMEOUT]
| @@ -257,3 +257,38 @@ macos_task: | |
| - make V=1 test-ci | |
| install_script: | |
| - sudo -H make V=1 install | |
| + | |
| + | linux_musl_task: |
| + | skip: "changesIncludeOnly( |
| + | '**/CMakeLists.txt', |
| + | '.azure-pipelines.yml', |
| + | '.circleci/**', |
| + | '.github/**', |
| + | 'appveyor.yml', |
| + | 'CMake/**', |
| + | 'packages/**', |
| + | 'plan9/**', |
| + | 'projects/**', |
| + | 'winbuild/**' |
| + | )" |
| + | name: Linux MUSL |
| + | container: |
| + | image: alpine:3.18 |
| + | memory: 800M |
| + | |
| + | env: |
| + | CIRRUS_CLONE_DEPTH: 10 |
| + | MAKEFLAGS: -j 2 |
| + | |
| + | pkginstall_script: |
| + | - apk add --no-cache build-base autoconf automake libtool perl openssl-dev libssh2-dev zlib-dev brotli-dev zstd-dev libidn2-dev openldap-dev heimdal-dev libpsl-dev py3-impacket py3-asn1 py3-six py3-pycryptodomex perl-time-hires openssh stunnel sudo |
| + | configure_script: |
| + | - autoreconf -fi |
| + | - ./configure --enable-warnings --enable-debug --enable-websockets --with-ssl --with-libssh2 --with-libidn2 --with-gssapi --enable-ldap --with-libpsl |
| + | compile_script: |
| + | - make V=1 && make V=1 examples && make -C tests V=1 |
| + | test_script: |
| + | # TODO: ssh tests don't work, likely because we're running as root |
| + | - USER=nobody make V=1 test-ci |
| + | install_script: |
| + | - make V=1 install |