Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
93 changes: 84 additions & 9 deletions .github/workflows/public.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
steps:
- name: Install packages (rocky 8)
run: |
yum -y install gcc-c++ clang tar git-lfs make tbb-devel python3
yum -y install gcc-c++ clang tar git-lfs make python3
yum -y install cmake
- name: Checkout Repository
uses: actions/checkout@v4
Expand All @@ -31,20 +31,56 @@ jobs:

- name: Build and Run
run: |
scripts/build.sh
scripts/build_small.sh

rocky-9:
runs-on: ubuntu-latest
container:
image: rockylinux:9
steps:
- name: Install packages (rocky 9)
run: |
yum -y install gcc-c++ clang tar git-lfs make python3
yum -y install cmake
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: true

- name: Build and Run
run: |
scripts/build_small.sh

ubuntu-24_04:
runs-on: ubuntu-latest
container:
image: ubuntu:24.04
steps:
- name: Install packages (ubuntu 24.04)
run: |
apt-get update
apt-get -y install g++ clang git-lfs libtbb-dev python3
apt-get -y install cmake
cmake --version
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: true

- name: Build and Run
run: |
scripts/build_small.sh

ubuntu-22_04:
ubuntu-26_04:
runs-on: ubuntu-latest
container:
image: ubuntu:22.04
image: ubuntu:26.04
steps:
- name: Install packages (ubuntu 22.04)
- name: Install packages (ubuntu 26.04)
run: |
apt-get update
apt-get -y upgrade
apt-get -y install g++ clang git-lfs libtbb-dev python3 pip
pip install --upgrade cmake
apt-get -y install g++ clang git-lfs python3
apt-get -y install cmake
cmake --version
- name: Checkout Repository
uses: actions/checkout@v4
Expand All @@ -53,4 +89,43 @@ jobs:

- name: Build and Run
run: |
scripts/build.sh
scripts/build_small.sh

windows:
runs-on: windows-latest
steps:
- name: Install packages (Windows)
shell: pwsh
run: |
# CMake, Git, Python and MSVC are preinstalled on the image.
# Clang/LLVM is usually there too; install it if you need a specific version:
# vcpkg install tbb:x64-windows
cmake --version

- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: true

- name: Build and Run
shell: bash
run: |
scripts/build_small.sh

macos:
runs-on: macos-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: true

- name: Install packages (macOS)
run: |
# Apple Clang, Git, Python 3 and CMake come preinstalled.
# brew install tbb git-lfs
cmake --version

- name: Build and Run
run: |
scripts/build_small.sh
18 changes: 18 additions & 0 deletions scripts/build_small.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/bash
## Copyright 2019-2020 Intel Corporation
## SPDX-License-Identifier: Apache-2.0

mkdir build
cd build

cmake --version

cmake \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_OIDN=OFF \
-DDOWNLOAD_ISPC=OFF \
-DBUILD_TOOLS=ON \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
"$@" ../superbuild

cmake --build .
Loading