Commit ed0a5a4d authored by Jerome Wu's avatar Jerome Wu

Update workflow

parent b17e49a2
......@@ -20,18 +20,56 @@ jobs:
- build-zlib
- build-x264
- build-x265
- build-libvpx
- build-wavpack
- build-lame
- build-fdk-aac
- build-ogg
- build-vorbis
- build-theora
- build-opus
- build-libwebp
- build-freetype2
- build-fribidi
- build-harfbuzz
- build-libass
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Build FFMpeg
shell: bash
- name: Build FFMpeg Libs
run: bash build-with-docker.sh install-deps ${{ matrix.script }}
# - uses: actions/upload-artifact@master
# with:
# name: ffmpeg-core
# path: wasm/packages/core/dist
- name: Cache multiple paths
uses: actions/cache@v2
with:
path: |
build
wasm/cache
key: ffmpeg.wasm-core
build-ffmpeg:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Build FFMpeg
run: |
bash build-with-docker.sh \
install-deps \
configure-ffmpeg \
build-ffmpeg
- name: Cache multiple paths
uses: actions/cache@v2
with:
path: |
build
wasm/cache
key: ffmpeg.wasm-core
- uses: actions/upload-artifact@master
with:
name: ffmpeg-core
path: wasm/packages/core/dist
# Disable macos build due to there is no ldconfig command
# during freetype2 build.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment