Remove uses of ctype.h header from tr31.c #113
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) 2022, 2023 Leon Lynch | |
# | |
# This file is licensed under the terms of the LGPL v2.1 license. | |
# See LICENSE file. | |
############################################################################## | |
name: MacOS build | |
on: [push] | |
jobs: | |
build-macos-debug: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- { name: "MacOS 11", os: macos-11, osx_arch: "x86_64;arm64", build_type: "Debug", fetch_deps: YES } | |
- { name: "MacOS 11", os: macos-11, osx_arch: "x86_64", build_type: "Release", fetch_deps: NO } | |
- { name: "MacOS 12", os: macos-12, osx_arch: "x86_64", build_type: "Debug", fetch_deps: NO } | |
- { name: "MacOS 12", os: macos-12, osx_arch: "x86_64;arm64", build_type: "Release", fetch_deps: YES } | |
name: ${{ matrix.name }} build (static/${{ matrix.build_type }}) | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Install dependencies | |
# Homebrew doesn't support universal binaries so only install dependencies for x86_64 builds | |
if: ${{ matrix.fetch_deps == 'NO' }} | |
run: | | |
brew install mbedtls | |
brew install argp-standalone | |
echo "CMAKE_REQUIRE_FIND_PACKAGE_MbedTLS=YES" >> $GITHUB_ENV | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- run: git describe --always --dirty | |
- name: Configure CMake | |
run: cmake -B build -DCMAKE_OSX_ARCHITECTURES="${{ matrix.osx_arch }}" -DCMAKE_BUILD_TYPE="${{ matrix.build_type }}" -DFETCH_MBEDTLS=${{ matrix.fetch_deps }} -DCMAKE_REQUIRE_FIND_PACKAGE_MbedTLS=${{ env.CMAKE_REQUIRE_FIND_PACKAGE_MbedTLS }} -DFETCH_ARGP=${{ matrix.fetch_deps }} | |
- name: Build | |
run: cmake --build build | |
- name: Test | |
run: ctest --test-dir build --output-on-failure |