diff --git a/.github/workflows/build_bromite.yaml b/.github/workflows/build_bromite.yaml index eec1fb2..c8952aa 100644 --- a/.github/workflows/build_bromite.yaml +++ b/.github/workflows/build_bromite.yaml @@ -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 cd $WORKSPACE/chromium/src - #sleep infinity - cp out/bromite/apks/* $WORKSPACE/artifacs/ echo "::group::-------- generating breakpad symbols" @@ -289,6 +287,37 @@ jobs: cp out/bromite/dump_syms $ARTIFACS_DIR/symbols 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 shell: bash run: | @@ -301,6 +330,11 @@ jobs: cp -arp out/bromite $ARTIFACS_DIR/out echo "::endgroup::" + - name: Wait forever + shell: bash + run: | + sleep infinity + - name: Stop goma shell: bash run: |