aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTaras Madan <tarasmadan@google.com>2022-07-26 10:16:05 +0200
committerGitHub <noreply@github.com>2022-07-26 10:16:05 +0200
commit279b89c29bd55ecac1ffa2787a4f8757b1f66fd7 (patch)
tree940966c55397e5131b220447dfd469965ef62870
parent34795c51ab3f8f36aaa7daca93071df2d02ade82 (diff)
.github/workflows/ci.yml: add self-hosted builder (#3265)
Add self-hosted builder. Use covecov-action v3.
-rw-r--r--.github/workflows/ci.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 969290494..1b0669df6 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -56,6 +56,27 @@ jobs:
with:
file: gopath/src/github.com/google/syzkaller/.coverage.txt
flags: unittests
+ build-self-hosted:
+ runs-on: self-hosted
+ steps:
+ - name: checkout
+ uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 # v2
+ with:
+ path: gopath/src/github.com/google/syzkaller
+ - name: cache
+ uses: actions/cache@99d99cd262b87f5f8671407a1e5c1ddfa36ad5ba # v1
+ with:
+ path: .cache
+ key: cache
+ - name: run
+ run: gopath/src/github.com/google/syzkaller/.github/workflows/run.sh syz-env make presubmit_build
+ # Upload coverage report to codecov.io. For reference see:
+ # https://github.com/codecov/codecov-action/blob/master/README.md
+ - name: codecov
+ uses: codecov/codecov-action@2a829b95deaeea2d11d127cc0358005714ff35ea # v3
+ with:
+ files: gopath/src/github.com/google/syzkaller/.coverage.txt
+ flags: unittests
dashboard:
runs-on: ubuntu-latest
steps: