diff options
author | Philip H <47042125+pheiduck@users.noreply.github.com> | 2022-09-21 20:46:33 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2022-09-29 10:56:14 +0200 |
commit | 55becae8f5352830ffea77c6f0c2f83a13272624 (patch) | |
tree | 3a5a40fe8343240a8a914dbfa9645fa656098270 /.cirrus.yml | |
parent | 2437fac01387e2653b8fae785335dc2744bab75a (diff) | |
download | curl-55becae8f5352830ffea77c6f0c2f83a13272624.tar.gz |
cirrus-ci: add macOS build with m1
Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com>
Closes #9565
Diffstat (limited to '.cirrus.yml')
-rw-r--r-- | .cirrus.yml | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml index 62e8cdae0..ebd95d8d5 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -131,3 +131,51 @@ windows_task: %container_cmd% -l -c "cd $(echo '%cd%') && make V=1 install && PATH=/usr/bin:/bin find . -type f -path '*/.libs/*.exe' -print -execdir mv -t .. {} \;" test_script: | %container_cmd% -l -c "cd $(echo '%cd%') && make V=1 TFLAGS='!IDN !SCP ~612 ~1056 %tests%' test-ci" + +macos_task: + name: macOS arm64 normal + macos_instance: + image: ghcr.io/cirruslabs/macos-ventura-xcode:latest + + env: + CIRRUS_CLONE_DEPTH: 10 + MAKE_FLAGS: -j 4 + CFLAGS: "-Wno-vla -mmacosx-version-min=10.9" + + pkginstall_script: + - brew update + - echo libtool autoconf automake pkg-config | xargs -Ix -n1 echo brew '"x"' > /tmp/Brewfile + - brew update && for i in 1 2 3; do brew bundle install --no-lock --file /tmp/Brewfile && break || sleep 1; done + configure_script: + - autoreconf -fi + - ./configure --enable-warnings --enable-werror --without-ssl --enable-websockets + compile_script: + - make V=1 && make V=1 examples && cd tests && make V=1 + test_script: + - sudo make V=1 test-ci + install_script: + - sudo make V=1 install + +macos_task: + name: macOS arm64 debug + macos_instance: + image: ghcr.io/cirruslabs/macos-ventura-xcode:latest + + env: + CIRRUS_CLONE_DEPTH: 10 + MAKE_FLAGS: -j 4 + CFLAGS: "-Wno-vla -mmacosx-version-min=10.9" + + pkginstall_script: + - brew update + - echo libtool autoconf automake pkg-config nghttp2 | xargs -Ix -n1 echo brew '"x"' > /tmp/Brewfile + - brew update && for i in 1 2 3; do brew bundle install --no-lock --file /tmp/Brewfile && break || sleep 1; done + configure_script: + - autoreconf -fi + - ./configure --enable-warnings --enable-werror --enable-debug --without-ssl --enable-websockets + compile_script: + - make V=1 && make V=1 examples && cd tests && make V=1 + test_script: + - sudo make V=1 test-ci + install_script: + - sudo make V=1 install |