Skip to content

Construct camera from transformation matrix directly & add cbox-caustic scene #152

Construct camera from transformation matrix directly & add cbox-caustic scene

Construct camera from transformation matrix directly & add cbox-caustic scene #152

name: Build & Test (macOS, Clang)
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: macos-14
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name : Install llvm
run: brew install llvm
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_C_COMPILER=/opt/homebrew/opt/llvm/bin/clang -DCMAKE_CXX_COMPILER=/opt/homebrew/opt/llvm/bin/clang++ -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name : Test
run : ${{github.workspace}}/build/caramel_test