1010jobs :
1111 build-linux :
1212 name : build in native linux
13- runs-on : ubuntu-20 .04
13+ runs-on : ubuntu-22 .04
1414 steps :
1515 - name : Checkout code
16- uses : actions/checkout@v2
16+ uses : actions/checkout@v4
1717
1818 - name : install libva-dev
1919 run : |
@@ -37,15 +37,15 @@ jobs:
3737
3838 build-macos :
3939 name : build in native macOS
40- runs-on : macos-10.15
40+ runs-on : macos-latest
4141 steps :
4242 - name : Checkout code
43- uses : actions/checkout@v2
43+ uses : actions/checkout@v4
4444
4545 - name : build ffmpeg
4646 run : |
4747 while sleep 300; do echo "=====[ $SECONDS seconds still running ]====="; done &
48- SKIPINSTALL=yes VERBOSE=yes ./build-ffmpeg --build --enable-gpl-and-non-free
48+ SKIPINSTALL=yes VERBOSE=yes SKIPRAV1E=yes ./build-ffmpeg --build --enable-gpl-and-non-free
4949 kill %1
5050 - name : check shared library
5151 run : |
@@ -59,19 +59,19 @@ jobs:
5959
6060 build-docker :
6161 name : build in docker
62- runs-on : ubuntu-20 .04
62+ runs-on : ubuntu-22 .04
6363 steps :
6464 - name : Checkout code
65- uses : actions/checkout@v2
65+ uses : actions/checkout@v4
6666
6767 - name : pull base image
6868 id : ubuntu_pull
6969 run : |
70- docker pull ubuntu:20 .04
70+ docker pull ubuntu:22 .04
7171 - name : run if ubuntu_pull failed
7272 if : failure() && steps.ubuntu_pull.outcome == 'failure'
7373 run : |
74- docker pull ubuntu:20 .04
74+ docker pull ubuntu:22 .04
7575 - name : build ffmpeg
7676 run : |
7777 docker build -t ffmpeg:ubuntu -f Dockerfile .
@@ -81,70 +81,46 @@ jobs:
8181
8282 build-cuda-ubuntu-docker :
8383 name : build in ubuntu docker with cuda
84- runs-on : ubuntu-20 .04
84+ runs-on : ubuntu-22 .04
8585 steps :
8686 - name : Checkout code
87- uses : actions/checkout@v2
87+ uses : actions/checkout@v4
8888
8989 - name : pull base image
9090 id : cuda_ubuntu_pull
9191 run : |
92- docker pull nvidia/cuda:11.4.2 -devel-ubuntu20 .04
93- docker pull ubuntu:20 .04
92+ docker pull nvidia/cuda:11.8.0 -devel-ubuntu22 .04
93+ docker pull ubuntu:22 .04
9494 - name : run if cuda_ubuntu_pull failed
9595 if : failure() && steps.cuda_ubuntu_pull.outcome == 'failure'
9696 run : |
97- docker pull nvidia/cuda:11.4.2 -devel-ubuntu20 .04
98- docker pull ubuntu:20 .04
97+ docker pull nvidia/cuda:11.8.0 -devel-ubuntu22 .04
98+ docker pull ubuntu:22 .04
9999 - name : build ffmpeg
100100 run : |
101101 docker build -t ffmpeg:cuda-ubuntu -f cuda-ubuntu.dockerfile .
102102 - name : test run ffmepg
103103 run : |
104104 docker run --rm ffmpeg:cuda-ubuntu -buildconf
105105
106- build-cuda-centos-docker :
107- name : build in centos docker with cuda
108- runs-on : ubuntu-20.04
109- steps :
110- - name : Checkout code
111- uses : actions/checkout@v2
112-
113- - name : pull base image
114- id : cuda_centos_pull
115- run : |
116- docker pull nvidia/cuda:11.4.2-devel-centos8
117- docker pull centos:8
118- - name : run if cuda_centos_pull failed
119- if : failure() && steps.cuda_centos_pull.outcome == 'failure'
120- run : |
121- docker pull nvidia/cuda:11.4.2-devel-centos8
122- docker pull centos:8
123- - name : build ffmpeg
124- run : |
125- docker build -t ffmpeg:cuda-centos -f cuda-centos.dockerfile .
126- - name : test run ffmepg
127- run : |
128- docker run --rm ffmpeg:cuda-centos -buildconf
129-
130106 build-full-static :
131107 name : full static build in docker
132- runs-on : ubuntu-20 .04
108+ runs-on : ubuntu-22 .04
133109 steps :
134110 - name : Checkout code
135- uses : actions/checkout@v2
111+ uses : actions/checkout@v4
136112
137113 - name : pull base image
138114 id : cuda_ubuntu_pull
139115 run : |
140- docker pull nvidia/cuda:11.4.2 -devel-ubuntu20 .04
116+ docker pull nvidia/cuda:11.8.0 -devel-ubuntu22 .04
141117 - name : run if cuda_ubuntu_pull failed
142118 if : failure() && steps.cuda_ubuntu_pull.outcome == 'failure'
143119 run : |
144- docker pull nvidia/cuda:11.4.2 -devel-ubuntu20 .04
120+ docker pull nvidia/cuda:11.8.0 -devel-ubuntu22 .04
145121 - name : build ffmpeg
146122 run : |
147123 docker build -t ffmpeg:cuda-static -f full-static.dockerfile .
148124 - name : test run ffmepg
149125 run : |
150- docker run --rm ffmpeg:cuda-static -buildconf
126+ docker run --rm ffmpeg:cuda-static -buildconf
0 commit comments