mirror of
https://github.com/k4yt3x/video2x.git
synced 2024-12-28 06:59:11 +00:00
ci(build): fixed build pipeline boost dependency
Signed-off-by: k4yt3x <i@k4yt3x.com>
This commit is contained in:
parent
0588908dd6
commit
0633b3fd62
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -31,7 +31,8 @@ jobs:
|
|||||||
libvulkan-dev \
|
libvulkan-dev \
|
||||||
glslang-tools \
|
glslang-tools \
|
||||||
libomp-dev \
|
libomp-dev \
|
||||||
libopencv-dev
|
libopencv-dev \
|
||||||
|
libboost-program-options-dev
|
||||||
- name: Build Video2X
|
- name: Build Video2X
|
||||||
run: |
|
run: |
|
||||||
mkdir -p /tmp/build /tmp/install
|
mkdir -p /tmp/build /tmp/install
|
||||||
@ -83,7 +84,7 @@ jobs:
|
|||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: |
|
run: |
|
||||||
cmake -S . -B build `
|
cmake -S . -B build `
|
||||||
-DUSE_SYSTEM_NCNN=OFF -DUSE_SYSTEM_SPDLOG=OFF -DUSE_SYSTEM_OPENCV=OFF `
|
-DUSE_SYSTEM_NCNN=OFF -DUSE_SYSTEM_SPDLOG=OFF -DUSE_SYSTEM_OPENCV=OFF -DUSE_SYSTEM_BOOST=OFF `
|
||||||
-DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=build/video2x_install
|
-DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=build/video2x_install
|
||||||
cmake --build build --config Debug --parallel --target install
|
cmake --build build --config Debug --parallel --target install
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# Name: Video2X Dockerfile
|
# Name: Video2X Dockerfile
|
||||||
# Creator: K4YT3X
|
# Creator: K4YT3X
|
||||||
# Date Created: February 3, 2022
|
# Date Created: February 3, 2022
|
||||||
# Last Modified: October 30, 2024
|
# Last Modified: November 1, 2024
|
||||||
|
|
||||||
# stage 1: build the python components into wheels
|
# stage 1: build the python components into wheels
|
||||||
FROM docker.io/archlinux:latest AS builder
|
FROM docker.io/archlinux:latest AS builder
|
||||||
@ -9,7 +9,7 @@ FROM docker.io/archlinux:latest AS builder
|
|||||||
# Install dependencies and create a non-root user
|
# Install dependencies and create a non-root user
|
||||||
RUN pacman -Syy --noconfirm \
|
RUN pacman -Syy --noconfirm \
|
||||||
base-devel git cmake make clang pkgconf sudo \
|
base-devel git cmake make clang pkgconf sudo \
|
||||||
ffmpeg ncnn vulkan-headers openmp spdlog opencv \
|
ffmpeg ncnn vulkan-headers openmp spdlog opencv boost \
|
||||||
nvidia-utils vulkan-radeon vulkan-intel vulkan-swrast \
|
nvidia-utils vulkan-radeon vulkan-intel vulkan-swrast \
|
||||||
&& useradd -m builder \
|
&& useradd -m builder \
|
||||||
&& echo 'builder ALL=(ALL) NOPASSWD: ALL' > /etc/sudoers.d/builder
|
&& echo 'builder ALL=(ALL) NOPASSWD: ALL' > /etc/sudoers.d/builder
|
||||||
@ -38,7 +38,7 @@ ENV VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json\
|
|||||||
|
|
||||||
COPY --from=builder /tmp/video2x.pkg.tar.zst /video2x.pkg.tar.zst
|
COPY --from=builder /tmp/video2x.pkg.tar.zst /video2x.pkg.tar.zst
|
||||||
RUN pacman -Sy --noconfirm nvidia-utils vulkan-radeon vulkan-intel vulkan-swrast \
|
RUN pacman -Sy --noconfirm nvidia-utils vulkan-radeon vulkan-intel vulkan-swrast \
|
||||||
ffmpeg ncnn spdlog opencv \
|
ffmpeg ncnn spdlog opencv boost-libs \
|
||||||
&& pacman -U --noconfirm /video2x.pkg.tar.zst \
|
&& pacman -U --noconfirm /video2x.pkg.tar.zst \
|
||||||
&& rm -rf /video2x.pkg.tar.zst /var/cache/pacman/pkg/*
|
&& rm -rf /video2x.pkg.tar.zst /var/cache/pacman/pkg/*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user