-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use noderawfs for github workflow test
- Loading branch information
Showing
8 changed files
with
137 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
pull_request: | ||
on: workflow_dispatch | ||
# push: | ||
# pull_request: | ||
|
||
jobs: | ||
build: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: wasm-test | ||
|
||
on: workflow_dispatch | ||
|
||
jobs: | ||
|
||
wasm-test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: mymindstorm/setup-emsdk@v11 | ||
with: | ||
version: 3.1.16 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
- run: node -v | ||
- run: emcc -v | ||
- run: sudo apt-get update -qq | ||
- run: sudo apt-get install -qq nasm g++-multilib gcc-multilib libc6-dev-i386 | ||
- run: make gmp-bootstrap | ||
- run: make gtest-bootstrap | ||
- run: bash ./build/mktargets.sh | ||
- run: emmake make all OS=wasm ARCH= EMFS=noderawfs | ||
- run: node h264enc.js testbin/welsenc_vd_1d_wasm_nodefs.cfg | ||
- run: node h264enc.js testbin/welsenc_vd_rc_wasm_nodefs.cfg | ||
- run: node h264enc.js testbin/welsenc_arbitrary_res_wasm_nodefs.cfg | ||
- run: node h264dec.js res/test_vd_1d.264 testbin/test_vd_1d.yuv | ||
- run: node h264dec.js res/test_vd_rc.264 testbin/test_vd_rc.yuv | ||
- run: node h264dec.js res/Static.264 testbin/Static.yuv | ||
- run: ( cd test/encoder_binary_comparison ; ./run_PrepareAllTestData.sh 64 wasm ) | ||
- run: ./run_Test.sh BinaryCompareWasm BA_MW_D.264 | ||
- run: ./run_Test.sh BinaryCompareWasm Adobe_PDF_sample_a_1024x768_50Frms.264 | ||
- run: ./run_Test.sh BinaryCompareWasm Zhling_1280x720.264 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
#!/bin/sh | ||
cd "$(git rev-parse --show-toplevel 2>/dev/null)" >/dev/null 2>&1 | ||
python build/mktargets.py --directory codec/decoder --library decoder | ||
python build/mktargets.py --directory codec/encoder --library encoder --exclude DllEntry.cpp | ||
python build/mktargets.py --directory codec/common --library common --exclude asm_inc.asm --exclude arm_arch_common_macro.S --exclude arm_arch64_common_macro.S | ||
python build/mktargets.py --directory codec/processing --library processing | ||
python2 build/mktargets.py --directory codec/decoder --library decoder | ||
python2 build/mktargets.py --directory codec/encoder --library encoder --exclude DllEntry.cpp | ||
python2 build/mktargets.py --directory codec/common --library common --exclude asm_inc.asm --exclude arm_arch_common_macro.S --exclude arm_arch64_common_macro.S | ||
python2 build/mktargets.py --directory codec/processing --library processing | ||
|
||
python build/mktargets.py --directory codec/console/dec --binary h264dec | ||
python build/mktargets.py --directory codec/console/enc --binary h264enc | ||
python build/mktargets.py --directory codec/console/common --library console_common | ||
python build/mktargets.py --directory test/encoder --prefix encoder_unittest | ||
python build/mktargets.py --directory test/decoder --prefix decoder_unittest | ||
python build/mktargets.py --directory test/processing --prefix processing_unittest | ||
python build/mktargets.py --directory test/api --prefix api_test | ||
python build/mktargets.py --directory test/common --prefix common_unittest | ||
python build/mktargets.py --directory module --prefix module | ||
python build/mktargets.py --directory gtest/googletest --library gtest --out build/gtest-targets.mk --cpp-suffix .cc --include gtest-all.cc | ||
python2 build/mktargets.py --directory codec/console/dec --binary h264dec | ||
python2 build/mktargets.py --directory codec/console/enc --binary h264enc | ||
python2 build/mktargets.py --directory codec/console/common --library console_common | ||
python2 build/mktargets.py --directory test/encoder --prefix encoder_unittest | ||
python2 build/mktargets.py --directory test/decoder --prefix decoder_unittest | ||
python2 build/mktargets.py --directory test/processing --prefix processing_unittest | ||
python2 build/mktargets.py --directory test/api --prefix api_test | ||
python2 build/mktargets.py --directory test/common --prefix common_unittest | ||
python2 build/mktargets.py --directory module --prefix module | ||
python2 build/mktargets.py --directory gtest/googletest --library gtest --out build/gtest-targets.mk --cpp-suffix .cc --include gtest-all.cc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters