ci(release): disabled Ubuntu 24.04 build in the release pipeline

Signed-off-by: k4yt3x <i@k4yt3x.com>
This commit is contained in:
k4yt3x 2024-11-05 00:00:00 +00:00
parent ec4b51064a
commit 7a7558e1a8
No known key found for this signature in database

View File

@ -20,6 +20,8 @@ jobs:
run: echo version=${GITHUB_REF/refs\/tags\//} >> $GITHUB_OUTPUT run: echo version=${GITHUB_REF/refs\/tags\//} >> $GITHUB_OUTPUT
ubuntu-2404: ubuntu-2404:
# GitHub Actions' ubuntu-24.04 runner does not have enough RAM
if: false
name: Build Ubuntu 24.04 release name: Build Ubuntu 24.04 release
needs: needs:
- setup - setup
@ -31,8 +33,9 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
submodules: recursive submodules: recursive
- name: Build Video2X - name: Install dependencies
run: | run: |
git submodule update --init --recursive
sudo apt-get update sudo apt-get update
sudo apt-get install -y --no-install-recommends \ sudo apt-get install -y --no-install-recommends \
libavcodec-dev \ libavcodec-dev \
@ -46,6 +49,8 @@ jobs:
libomp-dev \ libomp-dev \
libopencv-dev \ libopencv-dev \
libboost-program-options-dev libboost-program-options-dev
- name: Build Video2X
run: |
cmake -B build -S . -DUSE_SYSTEM_NCNN=OFF -DUSE_SYSTEM_SPDLOG=OFF -DSPDLOG_NO_EXCEPTIONS=ON \ cmake -B build -S . -DUSE_SYSTEM_NCNN=OFF -DUSE_SYSTEM_SPDLOG=OFF -DSPDLOG_NO_EXCEPTIONS=ON \
-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ \ -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ \
-DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=build/video2x-linux-ubuntu-2404-amd64/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=build/video2x-linux-ubuntu-2404-amd64/usr
@ -133,7 +138,7 @@ jobs:
name: Create release name: Create release
needs: needs:
- setup - setup
- ubuntu-2404 # - ubuntu-2404
- windows - windows
- container - container
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -152,5 +157,4 @@ jobs:
draft: true draft: true
prerelease: false prerelease: false
files: | files: |
video2x-linux-ubuntu-2404-amd64.deb
video2x-windows-amd64.zip video2x-windows-amd64.zip