-
Notifications
You must be signed in to change notification settings - Fork 434
116 lines (100 loc) · 3.44 KB
/
Copy pathpublic.continuous.yml
File metadata and controls
116 lines (100 loc) · 3.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
## Copyright 2024 Intel Corporation
## SPDX-License-Identifier: Apache-2.0
name: continuous (public)
on:
push:
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: read-all
jobs:
rocky-8:
runs-on: ubuntu-latest
container:
image: rockylinux:8
steps:
- name: Install packages (rocky 8)
run: |
yum -y install epel-release
yum -y install gcc-c++ clang tar git-lfs make tbb-devel freeglut-devel glfw-devel libXmu-devel libXi-devel python3
yum -y install cmake
yum -y install libXcursor-devel libXi-devel libXinerama-devel libXrandr-devel
yum -y install ncurses-compat-libs
yum -y install environment-modules
dnf makecache --refresh
dnf config-manager --set-enabled powertools
dnf -y update
dnf -y install ninja-build
- name: Checkout Repository
uses: actions/checkout@v4
- name: Build and Run
run: |
mkdir build
cd build
cmake -DBUILD_TESTING=ON -DEMBREE_TUTORIALS=ON -DEMBREE_ISPC_SUPPORT=OFF -DEMBREE_TESTING_INTENSITY=3 ..
make -j$(nproc)
ctest
ubuntu-24-tbb-and-ispc-from-os:
runs-on: ubuntu-latest
container:
image: ubuntu:24.04
steps:
- name: Install packages (ubuntu 24.04)
run: |
apt-get update
apt-get -y upgrade
apt-get -y install g++ cmake git-lfs freeglut3-dev libglfw3-dev libxmu-dev libxi-dev unzip xorg-dev pip libtbb-dev ispc
apt-get -y install libopenimageio-dev
- name: Checkout Repository
uses: actions/checkout@v4
- name: Build and Run
run: |
mkdir build
cd build
cmake -DBUILD_TESTING=ON -DEMBREE_TUTORIALS=ON -DEMBREE_ISPC_SUPPORT=ON -DEMBREE_TESTING_INTENSITY=3 ..
make -j$(nproc)
ctest
ubuntu-24-tbb-and-ispc-prebuilt:
runs-on: ubuntu-latest
container:
image: ubuntu:24.04
steps:
- name: Install packages (ubuntu 24.04)
run: |
apt-get update
apt-get -y upgrade
apt-get -y install g++ cmake git-lfs freeglut3-dev libglfw3-dev libxmu-dev libxi-dev unzip xorg-dev pip
apt-get -y install libopenimageio-dev
- name: Checkout Repository
uses: actions/checkout@v4
- name: Build and Run
run: |
mkdir build
cd build
cmake -D EMBREE_EXTRA_OPTIONS="-DBUILD_TESTING=ON -DEMBREE_TUTORIALS=ON -DEMBREE_ISPC_SUPPORT=ON -DEMBREE_TESTING_INTENSITY=3" ../superbuild
cmake --build .
cd embree/build
ctest
ubuntu-24-tbb-src-ispc-prebuilt:
runs-on: ubuntu-latest
container:
image: ubuntu:24.04
steps:
- name: Install packages (ubuntu 24.04)
run: |
apt-get update
apt-get -y upgrade
apt-get -y install g++ cmake git-lfs freeglut3-dev libglfw3-dev libxmu-dev libxi-dev unzip xorg-dev pip
apt-get -y install libopenimageio-dev
- name: Checkout Repository
uses: actions/checkout@v4
- name: Build and Run
run: |
mkdir build
cd build
cmake -D BUILD_TBB_FROM_SOURCE=ON -D EMBREE_EXTRA_OPTIONS="-DBUILD_TESTING=ON -DEMBREE_TUTORIALS=ON -DEMBREE_ISPC_SUPPORT=ON -DEMBREE_TESTING_INTENSITY=3" ../superbuild
cmake --build .
cd embree/build
ctest