changed find optix script #22
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: 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 |