Skip to content

Create all library Release #33

Create all library Release

Create all library Release #33

Workflow file for this run

on:
# push:
# branches: [master]
workflow_dispatch:
inputs:
os:
description: 'macos version'
required: false
type: choice
default: 'macos-14'
options:
- macos-13
- macos-14
- macos-15
platform:
description: 'choose a platform for compile'
required: false
type: choice
default: 'all'
options:
- apple
- android
- ios
- tvos
- macos
- all
dryrun:
description: 'just run workflow,but not deploy'
required: false
type: choice
default: 'false'
options:
- true
- false
pull_request:
branches: [master]
name: Create all library Release
jobs:
build:
name: compile all libs for ${{ inputs.platform }} then deploy
runs-on: ${{ inputs.os }}
env:
GH_TOKEN: ${{ github.token }}
steps:
- uses: nttld/setup-ndk@v1
id: setup-ndk
with:
ndk-version: r27c
add-to-path: true
local-cache: false
- name: Checkout code
uses: actions/checkout@v4
- name: One Step
run: |
echo '------compile unibreak------------------------------------'
rm -rf build || git reset --hard || git pull origin
.github/workflows/onestep.sh unibreak ${{ inputs.platform }} ${{ inputs.dryrun }}
echo '------compile fribidi------------------------------------'
rm -rf build || git reset --hard || git pull origin
.github/workflows/onestep.sh fribidi ${{ inputs.platform }} ${{ inputs.dryrun }}
echo '------compile freetype------------------------------------'
rm -rf build || git reset --hard || git pull origin
.github/workflows/onestep.sh freetype ${{ inputs.platform }} ${{ inputs.dryrun }}
if [[ ${{ inputs.platform }} == android ]]; then
echo '------compile android fontconfig------------------------------------'
rm -rf build || git reset --hard || git pull origin
.github/workflows/install-dependencies.sh fontconfig android
.github/workflows/onestep.sh fontconfig android ${{ inputs.dryrun }}
fi
echo '------compile harfbuzz------------------------------------'
rm -rf build || git reset --hard || git pull origin
.github/workflows/install-dependencies.sh harfbuzz ${{ inputs.platform }}
.github/workflows/onestep.sh harfbuzz ${{ inputs.platform }} ${{ inputs.dryrun }}
echo '------compile ass------------------------------------'
rm -rf build || git reset --hard || git pull origin
.github/workflows/install-dependencies.sh ass ${{ inputs.platform }}
.github/workflows/onestep.sh ass ${{ inputs.platform }} ${{ inputs.dryrun }}
echo '------compile yuv------------------------------------'
rm -rf build || git reset --hard || git pull origin
.github/workflows/onestep.sh yuv ${{ inputs.platform }} ${{ inputs.dryrun }}
echo '------compile soundtouch------------------------------------'
rm -rf build || git reset --hard || git pull origin
.github/workflows/onestep.sh soundtouch ${{ inputs.platform }} ${{ inputs.dryrun }}
echo '------compile opus------------------------------------'
rm -rf build || git reset --hard || git pull origin
.github/workflows/onestep.sh opus ${{ inputs.platform }} ${{ inputs.dryrun }}
echo '------compile openssl3------------------------------------'
rm -rf build || git reset --hard || git pull origin
.github/workflows/onestep.sh openssl3 ${{ inputs.platform }} ${{ inputs.dryrun }}
echo '------compile dvdread------------------------------------'
rm -rf build || git reset --hard || git pull origin
.github/workflows/onestep.sh dvdread ${{ inputs.platform }} ${{ inputs.dryrun }}
echo '------compile dvdnav------------------------------------'
rm -rf build || git reset --hard || git pull origin
.github/workflows/onestep.sh dvdnav ${{ inputs.platform }} ${{ inputs.dryrun }}
echo '------compile bluray------------------------------------'
rm -rf build || git reset --hard || git pull origin
.github/workflows/install-dependencies.sh bluray ${{ inputs.platform }}
.github/workflows/onestep.sh bluray ${{ inputs.platform }} ${{ inputs.dryrun }}
echo '------compile dav1d------------------------------------'
rm -rf build || git reset --hard || git pull origin
.github/workflows/onestep.sh dav1d ${{ inputs.platform }} ${{ inputs.dryrun }}
echo '------compile uavs3d------------------------------------'
rm -rf build || git reset --hard || git pull origin
.github/workflows/onestep.sh uavs3d ${{ inputs.platform }} ${{ inputs.dryrun }}
echo '------compile smb2------------------------------------'
rm -rf build || git reset --hard || git pull origin
.github/workflows/onestep.sh smb2 ${{ inputs.platform }} ${{ inputs.dryrun }}
echo '------compile webp------------------------------------'
rm -rf build || git reset --hard || git pull origin
.github/workflows/onestep.sh webp ${{ inputs.platform }} ${{ inputs.dryrun }}
echo '------compile ffmpeg7------------------------------------'
rm -rf build || git reset --hard || git pull origin
.github/workflows/install-dependencies.sh ffmpeg7 ${{ inputs.platform }}
.github/workflows/onestep.sh ffmpeg7 ${{ inputs.platform }} ${{ inputs.dryrun }}
env:
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}