add build of tests
This commit is contained in:
parent
e1c49af901
commit
44020e2303
38
.github/workflows/build_bromite.yaml
vendored
38
.github/workflows/build_bromite.yaml
vendored
@ -275,8 +275,6 @@ jobs:
|
|||||||
PATH=$WORKSPACE/chromium/src/third_party/llvm-build/Release+Asserts/bin:$WORKSPACE/depot_tools/:/usr/local/go/bin:$WORKSPACE/mtool/bin:$PATH
|
PATH=$WORKSPACE/chromium/src/third_party/llvm-build/Release+Asserts/bin:$WORKSPACE/depot_tools/:/usr/local/go/bin:$WORKSPACE/mtool/bin:$PATH
|
||||||
cd $WORKSPACE/chromium/src
|
cd $WORKSPACE/chromium/src
|
||||||
|
|
||||||
#sleep infinity
|
|
||||||
|
|
||||||
cp out/bromite/apks/* $WORKSPACE/artifacs/
|
cp out/bromite/apks/* $WORKSPACE/artifacs/
|
||||||
|
|
||||||
echo "::group::-------- generating breakpad symbols"
|
echo "::group::-------- generating breakpad symbols"
|
||||||
@ -289,6 +287,37 @@ jobs:
|
|||||||
cp out/bromite/dump_syms $ARTIFACS_DIR/symbols
|
cp out/bromite/dump_syms $ARTIFACS_DIR/symbols
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
|
|
||||||
|
- name: Build junit tests
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
PATH=$WORKSPACE/chromium/src/third_party/llvm-build/Release+Asserts/bin:$WORKSPACE/depot_tools/:/usr/local/go/bin:$WORKSPACE/mtool/bin:$PATH
|
||||||
|
cd $WORKSPACE/chromium/src
|
||||||
|
|
||||||
|
autoninja -j $GOMAJOBS -C out/bromite chrome_junit_tests
|
||||||
|
autoninja -j $GOMAJOBS -C out/bromite components_junit_tests
|
||||||
|
autoninja -j $GOMAJOBS -C out/bromite content_junit_tests
|
||||||
|
autoninja -j $GOMAJOBS -C out/bromite base_junit_tests
|
||||||
|
autoninja -j $GOMAJOBS -C out/bromite ui_junit_tests
|
||||||
|
|
||||||
|
- name: Build c++ tests
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
PATH=$WORKSPACE/chromium/src/third_party/llvm-build/Release+Asserts/bin:$WORKSPACE/depot_tools/:/usr/local/go/bin:$WORKSPACE/mtool/bin:$PATH
|
||||||
|
cd $WORKSPACE/chromium/src
|
||||||
|
|
||||||
|
autoninja -j $GOMAJOBS -C out/bromite unit_tests
|
||||||
|
autoninja -j $GOMAJOBS -C out/bromite content_browsertests
|
||||||
|
autoninja -j $GOMAJOBS -C out/bromite components_unittests
|
||||||
|
|
||||||
|
- name: Build instrumentation tests
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
PATH=$WORKSPACE/chromium/src/third_party/llvm-build/Release+Asserts/bin:$WORKSPACE/depot_tools/:/usr/local/go/bin:$WORKSPACE/mtool/bin:$PATH
|
||||||
|
cd $WORKSPACE/chromium/src
|
||||||
|
|
||||||
|
autoninja -j $GOMAJOBS -C out/bromite content_shell_test_apk
|
||||||
|
autoninja -j $GOMAJOBS -C out/bromite chrome_public_test_apk
|
||||||
|
|
||||||
- name: Sync out folder
|
- name: Sync out folder
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
@ -301,6 +330,11 @@ jobs:
|
|||||||
cp -arp out/bromite $ARTIFACS_DIR/out
|
cp -arp out/bromite $ARTIFACS_DIR/out
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
|
|
||||||
|
- name: Wait forever
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
sleep infinity
|
||||||
|
|
||||||
- name: Stop goma
|
- name: Stop goma
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user