Skip to content

Commit 1a22c1a

Browse files
committed
compile all libs
1 parent 0bcad5d commit 1a22c1a

File tree

2 files changed

+62
-1
lines changed

2 files changed

+62
-1
lines changed

.github/workflows/all.yml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
on:
2+
# push:
3+
# branches: [master]
4+
workflow_dispatch:
5+
pull_request:
6+
branches: [master]
7+
8+
name: Create all library Release
9+
10+
jobs:
11+
build:
12+
name: compile all lib then deploy
13+
runs-on: macos-13
14+
env:
15+
GH_TOKEN: ${{ github.token }}
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@v3
19+
- name: One Step
20+
run: |
21+
echo '------compile unibreak------------------------------------'
22+
.github/workflows/onestep.sh unibreak all
23+
echo '------compile fribidi------------------------------------'
24+
rm -rf build || git reset --hard || git pull origin
25+
.github/workflows/onestep.sh fribidi all
26+
echo '------compile freetype------------------------------------'
27+
rm -rf build || git reset --hard || git pull origin
28+
.github/workflows/onestep.sh freetype all
29+
echo '------compile harfbuzz------------------------------------'
30+
rm -rf build || git reset --hard || git pull origin
31+
./main.sh install -p ios -l 'freetype'
32+
./main.sh install -p tvos -l 'freetype'
33+
./main.sh install -p macos -l 'freetype'
34+
.github/workflows/onestep.sh harfbuzz all
35+
echo '------compile ass------------------------------------'
36+
rm -rf build || git reset --hard || git pull origin
37+
./main.sh install -p ios -l 'harfbuzz fribidi unibreak'
38+
./main.sh install -p tvos -l 'harfbuzz fribidi unibreak'
39+
./main.sh install -p macos -l 'harfbuzz fribidi unibreak'
40+
.github/workflows/onestep.sh ass all
41+
echo '------compile opus------------------------------------'
42+
rm -rf build || git reset --hard || git pull origin
43+
.github/workflows/onestep.sh opus all
44+
echo '------compile openssl------------------------------------'
45+
rm -rf build || git reset --hard || git pull origin
46+
.github/workflows/onestep.sh openssl all
47+
echo '------compile dvdread------------------------------------'
48+
rm -rf build || git reset --hard || git pull origin
49+
.github/workflows/onestep.sh dvdread all
50+
echo '------compile bluray------------------------------------'
51+
rm -rf build || git reset --hard || git pull origin
52+
.github/workflows/onestep.sh bluray macos
53+
echo '------compile dav1d------------------------------------'
54+
rm -rf build || git reset --hard || git pull origin
55+
.github/workflows/onestep.sh dav1d all
56+
echo '------compile ffmpeg------------------------------------'
57+
rm -rf build || git reset --hard || git pull origin
58+
./main.sh install -p ios -l 'openssl opus dav1d dvdread'
59+
./main.sh install -p tvos -l 'openssl opus dav1d dvdread'
60+
./main.sh install -p macos -l 'openssl opus bluray dav1d dvdread'
61+
.github/workflows/onestep.sh ffmpeg all

.github/workflows/onestep.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export TAG=${LIB_NAME}-${RELEASE_VERSION}-${RELEASE_DATE}
1515
export TITLE="👏👏${LIB_NAME}-${RELEASE_VERSION}"
1616

1717
ROOT_DIR=$PWD
18-
DIST_DIR=$ROOT_DIR/dist
18+
DIST_DIR=$ROOT_DIR/build/dist
1919
mkdir -p $DIST_DIR
2020

2121
function init_platform

0 commit comments

Comments
 (0)