Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b7e4c59

Browse filesBrowse files
authored
Update build.yml
1 parent 6d40ffa commit b7e4c59
Copy full SHA for b7e4c59

File tree

Expand file treeCollapse file tree

1 file changed

+6
-87
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-87
lines changed

‎.github/workflows/build.yml

Copy file name to clipboardExpand all lines: .github/workflows/build.yml
+6-87Lines changed: 6 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -34,93 +34,12 @@ jobs:
3434
- name: clean up
3535
run: |
3636
./build-ffmpeg --cleanup
37+
38+
- name: copy build
39+
uses: actions/upload-artifact@v3
40+
with:
41+
name: "workspace.zip"
42+
path: "workspace/"
3743

38-
build-macos:
39-
name: build in native macOS
40-
runs-on: macos-10.15
41-
steps:
42-
- name: Checkout code
43-
uses: actions/checkout@v2
44-
45-
- name: build ffmpeg
46-
run: |
47-
while sleep 300; do echo "=====[ $SECONDS seconds still running ]====="; done &
48-
SKIPINSTALL=yes VERBOSE=yes ./build-ffmpeg --build --enable-gpl-and-non-free
49-
kill %1
50-
- name: check shared library
51-
run: |
52-
otool -L ./workspace/bin/ffmpeg
53-
- name: test run ffmepg
54-
run: |
55-
./workspace/bin/ffmpeg -buildconf
56-
- name: clean up
57-
run: |
58-
./build-ffmpeg --cleanup
5944

60-
build-docker:
61-
name: build in docker
62-
runs-on: ubuntu-22.04
63-
steps:
64-
- name: Checkout code
65-
uses: actions/checkout@v2
6645

67-
- name: pull base image
68-
id: ubuntu_pull
69-
run: |
70-
docker pull ubuntu:22.04
71-
- name: run if ubuntu_pull failed
72-
if: failure() && steps.ubuntu_pull.outcome == 'failure'
73-
run: |
74-
docker pull ubuntu:22.04
75-
- name: build ffmpeg
76-
run: |
77-
docker build -t ffmpeg:ubuntu -f Dockerfile .
78-
- name: test run ffmepg
79-
run: |
80-
docker run --rm ffmpeg:ubuntu -buildconf
81-
82-
build-cuda-ubuntu-docker:
83-
name: build in ubuntu docker with cuda
84-
runs-on: ubuntu-22.04
85-
steps:
86-
- name: Checkout code
87-
uses: actions/checkout@v2
88-
89-
- name: pull base image
90-
id: cuda_ubuntu_pull
91-
run: |
92-
docker pull nvidia/cuda:11.8.0-devel-ubuntu22.04
93-
docker pull ubuntu:22.04
94-
- name: run if cuda_ubuntu_pull failed
95-
if: failure() && steps.cuda_ubuntu_pull.outcome == 'failure'
96-
run: |
97-
docker pull nvidia/cuda:11.8.0-devel-ubuntu22.04
98-
docker pull ubuntu:22.04
99-
- name: build ffmpeg
100-
run: |
101-
docker build -t ffmpeg:cuda-ubuntu -f cuda-ubuntu.dockerfile .
102-
- name: test run ffmepg
103-
run: |
104-
docker run --rm ffmpeg:cuda-ubuntu -buildconf
105-
106-
build-full-static:
107-
name: full static build in docker
108-
runs-on: ubuntu-22.04
109-
steps:
110-
- name: Checkout code
111-
uses: actions/checkout@v2
112-
113-
- name: pull base image
114-
id: cuda_ubuntu_pull
115-
run: |
116-
docker pull nvidia/cuda:11.8.0-devel-ubuntu22.04
117-
- name: run if cuda_ubuntu_pull failed
118-
if: failure() && steps.cuda_ubuntu_pull.outcome == 'failure'
119-
run: |
120-
docker pull nvidia/cuda:11.8.0-devel-ubuntu22.04
121-
- name: build ffmpeg
122-
run: |
123-
docker build -t ffmpeg:cuda-static -f full-static.dockerfile .
124-
- name: test run ffmepg
125-
run: |
126-
docker run --rm ffmpeg:cuda-static -buildconf

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.