Fix sortlist documentation (#950) #510
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (C) The c-ares project and its contributors | |
# SPDX-License-Identifier: MIT | |
name: iOS | |
on: | |
push: | |
pull_request: | |
concurrency: | |
group: ${{ github.ref }}-ios | |
cancel-in-progress: true | |
env: | |
DIST: "iOS" | |
MAKE: "make" | |
CMAKE_FLAGS: "-DCMAKE_BUILD_TYPE=DEBUG -DCARES_STATIC=ON -DCARES_STATIC_PIC=ON -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_DEPLOYMENT_TARGET=10.0 -DCMAKE_OSX_ARCHITECTURES=armv7;armv7s;arm64 -G Ninja" | |
CMAKE_TEST_FLAGS: "-DCARES_BUILD_TESTS=OFF" | |
jobs: | |
build: | |
runs-on: macos-latest | |
name: "iOS" | |
steps: | |
- name: Install packages | |
run: brew install cmake googletest llvm autoconf automake libtool make ninja | |
- name: Checkout c-ares | |
uses: actions/checkout@v4 | |
- name: "CMake: build and test c-ares" | |
env: | |
BUILD_TYPE: CMAKE | |
run: | | |
./ci/build.sh | |
- name: "Autotools: build and test c-ares" | |
env: | |
BUILD_TYPE: autotools | |
CFLAGS: "-arch armv7 -arch armv7s -arch arm64 -miphoneos-version-min=10.0" | |
CONFIG_OPTS: "--host=arm-apple-darwin10 --disable-tests" | |
run: | | |
./ci/build.sh | |
- name: "Cmake: Static Analyzer: build c-ares" | |
env: | |
BUILD_TYPE: "analyze" | |
CC: "clang" | |
SCAN_WRAP: "/opt/homebrew/opt/llvm/bin/scan-build-py -v --status-bugs" | |
run: | | |
./ci/build.sh |