Add mat3x4 and mat4x3 indexing functions #286
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
name: macOS (x86_64) | |
on: | |
push: | |
branches: | |
- "*" | |
tags: | |
- "*" | |
pull_request: | |
branches: | |
- "*" | |
jobs: | |
build-shared: | |
name: Shared Library | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: 'recursive' | |
- name: Install Packages | |
run: brew install sdl2 ninja googletest | |
- name: Configure Build | |
run: cmake -G "Ninja Multi-Config" -S "${{ github.workspace }}" -B "${{ github.workspace }}/cmake-build" -DCMAKE_INSTALL_PREFIX="${{ github.workspace }}/install" -DCMAKE_VERBOSE_MAKEFILE=YES -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=YES | |
- name: Build Debug | |
run: cmake --build "${{ github.workspace }}/cmake-build" --config "Debug" --parallel | |
- name: Run Unit Tests | |
run: ctest --test-dir "${{ github.workspace }}/cmake-build" --verbose --build-config "Debug" | |
- name: Build Release | |
run: cmake --build "${{ github.workspace }}/cmake-build" --config "Release" --parallel | |
- name: Install | |
run: | | |
cmake --build "${{ github.workspace }}/cmake-build" --config "Debug" --target install | |
cmake --build "${{ github.workspace }}/cmake-build" --config "Release" --target install | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: projectm-osx-shared-latest | |
path: install/* | |
build-static: | |
name: Static Library | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: 'recursive' | |
- name: Install Packages | |
run: brew install sdl2 ninja googletest | |
- name: Configure Build | |
run: cmake -G "Ninja Multi-Config" -S "${{ github.workspace }}" -B "${{ github.workspace }}/cmake-build" -DCMAKE_INSTALL_PREFIX="${{ github.workspace }}/install" -DCMAKE_VERBOSE_MAKEFILE=YES -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTING=YES | |
- name: Build Debug | |
run: cmake --build "${{ github.workspace }}/cmake-build" --config "Debug" --parallel | |
- name: Run Unit Tests | |
run: ctest --test-dir "${{ github.workspace }}/cmake-build" --verbose --build-config "Debug" | |
- name: Build Release | |
run: cmake --build "${{ github.workspace }}/cmake-build" --config "Release" --parallel | |
- name: Install | |
run: | | |
cmake --build "${{ github.workspace }}/cmake-build" --config "Debug" --target install | |
cmake --build "${{ github.workspace }}/cmake-build" --config "Release" --target install | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: projectm-osx-static-latest | |
path: install/* |