diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 179da221..7798321d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,7 @@ on: jobs: build-linux: name: build in native linux - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - name: Checkout code uses: actions/checkout@v2 @@ -59,7 +59,7 @@ jobs: build-docker: name: build in docker - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - name: Checkout code uses: actions/checkout@v2 @@ -67,11 +67,11 @@ jobs: - name: pull base image id: ubuntu_pull run: | - docker pull ubuntu:20.04 + docker pull ubuntu:24.04 - name: run if ubuntu_pull failed if: failure() && steps.ubuntu_pull.outcome == 'failure' run: | - docker pull ubuntu:20.04 + docker pull ubuntu:24.04 - name: build ffmpeg run: | docker build -t ffmpeg:ubuntu -f Dockerfile . @@ -81,7 +81,7 @@ jobs: build-cuda-ubuntu-docker: name: build in ubuntu docker with cuda - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - name: Checkout code uses: actions/checkout@v2 @@ -89,12 +89,12 @@ jobs: - name: pull base image id: cuda_ubuntu_pull run: | - docker pull nvidia/cuda:11.4.2-devel-ubuntu20.04 + docker pull nvidia/cuda:12.5.0-devel-ubuntu22.04 docker pull ubuntu:20.04 - name: run if cuda_ubuntu_pull failed if: failure() && steps.cuda_ubuntu_pull.outcome == 'failure' run: | - docker pull nvidia/cuda:11.4.2-devel-ubuntu20.04 + docker pull nvidia/cuda:12.5.0-devel-ubuntu22.04 docker pull ubuntu:20.04 - name: build ffmpeg run: | @@ -105,7 +105,7 @@ jobs: build-cuda-centos-docker: name: build in centos docker with cuda - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - name: Checkout code uses: actions/checkout@v2 @@ -129,7 +129,7 @@ jobs: build-full-static: name: full static build in docker - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - name: Checkout code uses: actions/checkout@v2 @@ -137,11 +137,11 @@ jobs: - name: pull base image id: cuda_ubuntu_pull run: | - docker pull nvidia/cuda:11.4.2-devel-ubuntu20.04 + docker pull nvidia/cuda:12.5.0-devel-ubuntu22.04 - name: run if cuda_ubuntu_pull failed if: failure() && steps.cuda_ubuntu_pull.outcome == 'failure' run: | - docker pull nvidia/cuda:11.4.2-devel-ubuntu20.04 + docker pull nvidia/cuda:12.5.0-devel-ubuntu22.04 - name: build ffmpeg run: | docker build -t ffmpeg:cuda-static -f full-static.dockerfile .