libticalcs: fix Nspire device information response length. #168
This file contains hidden or 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
| name: Build macOS | |
| on: | |
| push: | |
| branches: [ master, experimental, experimental2 ] | |
| pull_request: | |
| branches: [ master, experimental, experimental2 ] | |
| release: | |
| types: [published] | |
| jobs: | |
| build: | |
| name: "Build: ${{ matrix.arch }} ${{ matrix.os }}" | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [macos-13, macos-14, macos-15] | |
| config: [Release] | |
| include: | |
| - os: macos-13 | |
| arch: x64 | |
| - os: macos-14 | |
| arch: arm64 | |
| - os: macos-15 | |
| arch: arm64 | |
| steps: | |
| - name: Checkout Git Repo | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: 'recursive' | |
| - name: Install dependencies | |
| run: | | |
| brew install automake autoconf libtool python-setuptools | |
| pip install -U setuptools | |
| - name: Install latest CMake | |
| uses: lukka/get-cmake@9388b6042e1c7b834f01bbd0c06739bc321414e5 # latest as of 2025-06-25 | |
| - name: Restore artifacts, or setup vcpkg (do not install any package) | |
| uses: lukka/run-vcpkg@b3dd708d38df5c856fe1c18dc0d59ab771f93921 # latest as of 2025-06-25 | |
| - name: create install folder | |
| run: | | |
| mkdir -p "${{ github.workspace }}/tilibs.build/Mac-${{ matrix.arch }}/prefix" | |
| - name: Build and install tilibs ${{ matrix.config }} on Mac ${{ matrix.arch }} | |
| uses: lukka/run-cmake@67c73a83a46f86c4e0b96b741ac37ff495478c38 # latest as of 2025-06-25 | |
| with: | |
| cmakeListsTxtPath: '${{ github.workspace }}/CMakeLists.txt' | |
| configurePreset: 'Mac-${{ matrix.arch }}' | |
| configurePresetAdditionalArgs: "['-DDEPS_RELEASE_ONLY=ON']" | |
| buildPreset: 'Mac-${{ matrix.arch }}-${{ matrix.config }}' | |
| buildPresetAdditionalArgs: "['--target', 'check', 'install']" | |
| env: | |
| CMAKE_INSTALL_PREFIX_OVERRIDE: ${{ github.workspace }}/tilibs.build/Mac-${{ matrix.arch }}/prefix | |
| VCPKG_DEFAULT_HOST_TRIPLET: ${{ matrix.arch }}-osx-release | |
| VCPKG_FORCE_SYSTEM_BINARIES: 1 | |
| - name: Upload install folder | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: tilibs_${{ matrix.os }}-${{ matrix.arch }} | |
| path: ${{ github.workspace }}/tilibs.build/Mac-${{ matrix.arch }}/prefix |