Skip to content

Merge pull request #3 from uos/develop #39

Merge pull request #3 from uos/develop

Merge pull request #3 from uos/develop #39

Workflow file for this run

name: embree-ubu22
on:
push:
branches:
- 'main'
pull_request:
branches:
- 'main'
workflow_dispatch:
branches:
- '*'
jobs:
rmagine-embree-ubuntu22:
runs-on: ubuntu-22.04
steps:
- name: Deps (APT)
run: sudo apt install -y libboost-dev libeigen3-dev libassimp-dev cmake
- name: Deps (Embree)
run: |
wget https://github.com/embree/embree/releases/download/v4.3.0/embree-4.3.0.x86_64.linux.tar.gz
mkdir embree
tar -xf embree-4.3.0.x86_64.linux.tar.gz -C embree
- name: Clone
uses: actions/checkout@v4
with:
path: rmagine
- name: Compile
run: |
. embree/embree-vars.sh
cd rmagine
mkdir build
cd build
cmake -Dembree_DIR=$PWD/../../embree/lib/cmake/embree-4.3.0/ ..
make
- name: Test
run: |
. embree/embree-vars.sh
cd rmagine
cd build
./bin/rmagine_version
make test