Skip to content

Commit

Permalink
Updating runner OS image
Browse files Browse the repository at this point in the history
  • Loading branch information
Srikanth Kotagiri committed Jul 8, 2024
1 parent 837dd47 commit c704e1b
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -59,19 +59,19 @@ 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

- 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 .
Expand All @@ -81,20 +81,20 @@ 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

- 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: |
Expand All @@ -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
Expand All @@ -129,19 +129,19 @@ 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

- 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 .
Expand Down

0 comments on commit c704e1b

Please sign in to comment.