Skip to content

Commit 45d690e

Browse files
committed
compile libyuv only for test
1 parent dac94fb commit 45d690e

File tree

2 files changed

+44
-47
lines changed

2 files changed

+44
-47
lines changed

.github/workflows/publish-github-release.yml

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -24,33 +24,32 @@ jobs:
2424
uses: cardinalby/export-env-action@v2
2525
with:
2626
envFile: 'constants.env'
27-
- name: do compile macos libs
28-
run: |
27+
- run: |
2928
export SKIP_FFMPEG_PATHCHES=1
30-
./init-any.sh macos
29+
./init-any.sh all
30+
- name: generate src log
31+
- run: |
32+
cd build/src/macos
33+
ls | awk -F ' ' '{printf "echo %s\n echo -------------\ngit -C %s log -n 1 | cat\n",$0,$0}' | bash > ../macos-src-log.md
34+
cd ../ios
35+
ls | awk -F ' ' '{printf "echo %s\n echo -------------\ngit -C %s log -n 1 | cat\n",$0,$0}' | bash > ../ios-src-log.md
36+
- name: do compile macos libs
37+
run: |
3138
cd macos
32-
./compile-any.sh build
33-
./compile-any.sh lipo
39+
./compile-any.sh build libyuv
40+
./compile-any.sh lipo libyuv
41+
- name: do compile ios libs
42+
run: |
43+
cd ios
44+
./compile-any.sh build libyuv
45+
./compile-any.sh lipo libyuv
46+
- name:
3447
- name: Zip macos libs
3548
run: |
36-
cd build/src/macos
37-
ls | awk -F ' ' '{printf "echo %s\n echo -------------\ngit -C %s log -n 1 | cat\n",$0,$0}' | bash > ../macos-src-log.md
38-
cd - >/dev/null
3949
cd build/product/macos/universal
4050
zip -rq macos-universal.zip ./*
41-
- name: do compile ios libs
42-
run: |
43-
export SKIP_FFMPEG_PATHCHES=1
44-
export SKIP_PULL_BASE=1
45-
./init-any.sh ios
46-
cd ios
47-
./compile-any.sh build
48-
./compile-any.sh lipo
4951
- name: Zip ios libs
50-
run: |
51-
cd build/src/ios
52-
ls | awk -F ' ' '{printf "echo %s\n echo -------------\ngit -C %s log -n 1 | cat\n",$0,$0}' | bash > ../ios-src-log.md
53-
cd - >/dev/null
52+
run: |
5453
cd build/product/ios/universal
5554
zip -rq ios-universal.zip ./*
5655
- name: Create ${{ env.EDITION }} Release
@@ -87,7 +86,7 @@ jobs:
8786
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8887
with:
8988
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
90-
asset_path: build/src/macos/macos-src-log.md
89+
asset_path: build/src/macos-src-log.md
9190
asset_name: "macos-src-log-${{ env.EDITION }}-${{ env.RELEASE_VERSION }}.md"
9291
asset_content_type: application/text
9392
- name: Upload ios src md
@@ -96,6 +95,6 @@ jobs:
9695
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9796
with:
9897
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
99-
asset_path: build/src/ios/ios-src-log.md
98+
asset_path: build/src/ios-src-log.md
10099
asset_name: "ios-src-log-${{ env.EDITION }}-${{ env.RELEASE_VERSION }}.md"
101100
asset_content_type: application/text

.github/workflows/publish-ijk-release.yml

Lines changed: 23 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -24,41 +24,40 @@ jobs:
2424
uses: cardinalby/export-env-action@v2
2525
with:
2626
envFile: 'constants.env'
27+
- run: ./init-any.sh all
28+
- name: generate src log
29+
- run: |
30+
cd build/src/macos
31+
ls | awk -F ' ' '{printf "echo %s\n echo -------------\ngit -C %s log -n 1 | cat\n",$0,$0}' | bash > ../macos-src-log.md
32+
cd ../ios
33+
ls | awk -F ' ' '{printf "echo %s\n echo -------------\ngit -C %s log -n 1 | cat\n",$0,$0}' | bash > ../ios-src-log.md
2734
- name: do compile macos libs
28-
run: |
29-
./init-any.sh macos
35+
run: |
3036
cd macos
31-
./compile-any.sh build
32-
./compile-any.sh lipo
37+
./compile-any.sh build libyuv
38+
./compile-any.sh lipo libyuv
39+
- name: do compile ios libs
40+
run: |
41+
cd ios
42+
./compile-any.sh build libyuv
43+
./compile-any.sh lipo libyuv
44+
- name:
3345
- name: Zip macos libs
3446
run: |
35-
cd build/src/macos
36-
ls | awk -F ' ' '{printf "echo %s\n echo -------------\ngit -C %s log -n 1 | cat\n",$0,$0}' | bash > ../macos-src-log.md
37-
cd - >/dev/null
3847
cd build/product/macos/universal
3948
zip -rq macos-universal.zip ./*
40-
- name: do compile ios libs
41-
run: |
42-
export SKIP_PULL_BASE=1
43-
./init-any.sh ios
44-
cd ios
45-
./compile-any.sh build
46-
./compile-any.sh lipo
4749
- name: Zip ios libs
48-
run: |
49-
cd build/src/ios
50-
ls | awk -F ' ' '{printf "echo %s\n echo -------------\ngit -C %s log -n 1 | cat\n",$0,$0}' | bash > ../ios-src-log.md
51-
cd - >/dev/null
50+
run: |
5251
cd build/product/ios/universal
5352
zip -rq ios-universal.zip ./*
54-
- name: Create Release
53+
- name: Create ${{ env.EDITION }} Release
5554
id: create_release
5655
uses: actions/create-release@v1
5756
env:
5857
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5958
with:
60-
tag_name: ${{ env.RELEASE_VERSION }}
61-
release_name: Release ${{ env.RELEASE_VERSION }}
59+
tag_name: ${{ env.EDITION }}-${{ env.RELEASE_VERSION }}
60+
release_name: Release ${{ env.EDITION }}-${{ env.RELEASE_VERSION }}
6261
draft: false
6362
prerelease: false
6463
- name: Upload macos Release Asset
@@ -85,7 +84,7 @@ jobs:
8584
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8685
with:
8786
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
88-
asset_path: build/src/macos/macos-src-log.md
87+
asset_path: build/src/macos-src-log.md
8988
asset_name: "macos-src-log-${{ env.EDITION }}-${{ env.RELEASE_VERSION }}.md"
9089
asset_content_type: application/text
9190
- name: Upload ios src md
@@ -94,7 +93,6 @@ jobs:
9493
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9594
with:
9695
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
97-
asset_path: build/src/ios/ios-src-log.md
96+
asset_path: build/src/ios-src-log.md
9897
asset_name: "ios-src-log-${{ env.EDITION }}-${{ env.RELEASE_VERSION }}.md"
99-
asset_content_type: application/text
100-
98+
asset_content_type: application/text

0 commit comments

Comments
 (0)