ffmpeg-kit/.github/workflows/linux-build-scripts.yml

98 lines
3.0 KiB
YAML
Raw Normal View History

2022-08-25 00:48:32 +03:00
name: linux build scripts
2022-08-02 21:48:54 +03:00
on:
push:
branches:
- development
- main
paths:
- '.github/workflows/linux-build-scripts.yml'
- 'linux/**'
- 'scripts/**'
- 'tools/**'
- 'linux.sh'
pull_request:
branches:
- development
- main
paths:
- '.github/workflows/linux-build-scripts.yml'
- 'linux/**'
- 'scripts/**'
- 'tools/**'
- 'linux.sh'
jobs:
build-main-on-ubuntu-2204:
2022-08-22 00:16:15 +03:00
name: linux main on ubuntu-22.04
2022-08-02 21:48:54 +03:00
runs-on: ubuntu-22.04
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v2
- name: prerequisites
2023-08-23 11:17:07 +03:00
run: sudo apt-get install clang llvm lld libclang-14-dev libstdc++6 nasm autoconf automake libtool pkg-config curl git doxygen rapidjson-dev
2022-08-02 21:48:54 +03:00
- name: run the build script
run: ./linux.sh -d
- name: print build logs
if: ${{ always() }}
run: cat build.log
- name: print ffbuild logs
if: ${{ failure() }}
run: '[[ -f ./src/ffmpeg/ffbuild/config.log ]] && tail -50 ./src/ffmpeg/ffbuild/config.log'
build-lts-on-ubuntu-2204:
2022-08-22 00:16:15 +03:00
name: linux lts on ubuntu 22.04
2022-08-02 21:48:54 +03:00
runs-on: ubuntu-22.04
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v2
- name: prerequisites
2023-08-23 11:17:07 +03:00
run: sudo apt-get install clang llvm lld libclang-14-dev libstdc++6 nasm autoconf automake libtool pkg-config curl git doxygen rapidjson-dev
2022-08-02 21:48:54 +03:00
- name: run the build script
run: ./linux.sh -d --lts
- name: print build logs
if: ${{ always() }}
run: cat build.log
- name: print ffbuild logs
if: ${{ failure() }}
run: '[[ -f ./src/ffmpeg/ffbuild/config.log ]] && tail -50 ./src/ffmpeg/ffbuild/config.log'
build-main-on-ubuntu-2004:
2022-08-22 00:16:15 +03:00
name: linux main on ubuntu-20.04
2022-08-02 21:48:54 +03:00
runs-on: ubuntu-20.04
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v2
- name: prerequisites
2022-08-22 00:16:15 +03:00
run: sudo apt-get install clang llvm lld libclang-11-dev libstdc++6 nasm autoconf automake libtool pkg-config curl git doxygen rapidjson-dev
2022-08-02 21:48:54 +03:00
- name: run the build script
run: ./linux.sh -d
- name: print build logs
if: ${{ always() }}
run: cat build.log
- name: print ffbuild logs
if: ${{ failure() }}
run: '[[ -f ./src/ffmpeg/ffbuild/config.log ]] && tail -50 ./src/ffmpeg/ffbuild/config.log'
build-lts-on-ubuntu-2004:
2022-08-22 00:16:15 +03:00
name: linux lts on ubuntu 20.04
2022-08-02 21:48:54 +03:00
runs-on: ubuntu-20.04
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v2
- name: prerequisites
2022-08-22 00:16:15 +03:00
run: sudo apt-get install clang llvm lld libclang-11-dev libstdc++6 nasm autoconf automake libtool pkg-config curl git doxygen rapidjson-dev
2022-08-02 21:48:54 +03:00
- name: run the build script
run: ./linux.sh -d --lts
- name: print build logs
if: ${{ always() }}
run: cat build.log
- name: print ffbuild logs
if: ${{ failure() }}
run: '[[ -f ./src/ffmpeg/ffbuild/config.log ]] && tail -50 ./src/ffmpeg/ffbuild/config.log'