Skip to content

Commit

Permalink
ci(release): disabled Ubuntu 24.04 build in the release pipeline
Browse files Browse the repository at this point in the history
Signed-off-by: k4yt3x <[email protected]>
  • Loading branch information
k4yt3x committed Nov 5, 2024
1 parent ec4b510 commit 7a7558e
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
run: echo version=${GITHUB_REF/refs\/tags\//} >> $GITHUB_OUTPUT

ubuntu-2404:
# GitHub Actions' ubuntu-24.04 runner does not have enough RAM
if: false
name: Build Ubuntu 24.04 release
needs:
- setup
Expand All @@ -31,8 +33,9 @@ jobs:
uses: actions/checkout@v4
with:
submodules: recursive
- name: Build Video2X
- name: Install dependencies
run: |
git submodule update --init --recursive
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
libavcodec-dev \
Expand All @@ -46,6 +49,8 @@ jobs:
libomp-dev \
libopencv-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 \
-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ \
-DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=build/video2x-linux-ubuntu-2404-amd64/usr
Expand Down Expand Up @@ -133,7 +138,7 @@ jobs:
name: Create release
needs:
- setup
- ubuntu-2404
# - ubuntu-2404
- windows
- container
runs-on: ubuntu-latest
Expand All @@ -152,5 +157,4 @@ jobs:
draft: true
prerelease: false
files: |
video2x-linux-ubuntu-2404-amd64.deb
video2x-windows-amd64.zip

0 comments on commit 7a7558e

Please sign in to comment.