Fixes formatted float string size. #462
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
name: macOS | |
on: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macos-13, macos-14] | |
build_type: [Debug, Release] | |
option: [default, ref, shared, no_fbx] | |
runs-on: ${{matrix.os}} | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install fbx sdk | |
if: matrix.option != 'no_fbx' | |
run: | | |
mkdir fbx | |
cd fbx | |
sudo wget --user-agent='Mozilla/5.0' 'https://damassets.autodesk.net/content/dam/autodesk/www/adn/fbx/2020-3-4/fbx202034_fbxsdk_clang_mac.pkg.tgz' -O 'fbx.tgz' | |
sudo tar -xf 'fbx.tgz' | |
sudo installer -pkg *_fbxsdk_clang_macos.pkg -target / | |
cd .. | |
- name: Configure | |
# Configure CMake in a 'build' subdirectory. | |
run: | | |
cmake --version | |
cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DBUILD_SHARED_LIBS=${{matrix.option == 'shared'}} -Dozz_build_tests=${{matrix.option != 'no_tests'}} -Dozz_build_simd_ref=${{matrix.option == 'ref'}} -Dozz_build_samples=${{matrix.option != 'no_sample'}} -Dozz_build_data=${{matrix.option != 'no_data'}} -Dozz_build_gltf=${{matrix.option != 'no_gltf'}} | |
- name: Build | |
# Build your program with the given configuration | |
run: cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}} --use-stderr -j | |
- name: Test | |
working-directory: ${{github.workspace}}/build | |
# Execute tests defined by the CMake configuration. | |
run: ctest -C ${{matrix.build_type}} --output-on-failure -j2 | |