Skip to content

build(cmake): 📦 apple brew omp configs added #12

build(cmake): 📦 apple brew omp configs added

build(cmake): 📦 apple brew omp configs added #12

# CI code is based on
# https://github.com/nihui/realsr-ncnn-vulkan/blob/master/.github/workflows/release.yml
# Modified in here for newer vulkan
# https://github.com/onuralpszr/realsr-ncnn-vulkan/blob/vulkan-ci-version/.github/workflows/CI.yml
name: Fedora Dev Build (RPM Vulkan)
on: [pull_request]
env:
APPLICATION_NAME: gfpgan-ncnn-vulkan
jobs:
dev-build-fedora-rpm-vulkan:
runs-on: ubuntu-latest
container: fedora:latest
steps:
- name: Install dependencies
run: |
dnf update -y
dnf install wget curl git opencv-devel opencv python3-opencv \
libomp libomp-devel clang cmake gcc gcc-c++ glslang vulkan* -y
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Build
run: |
mkdir build && cd build
cmake ../src
cmake --build . -j 2