Skip to content

Commit

Permalink
wf assumes that exists BUILD files
Browse files Browse the repository at this point in the history
  • Loading branch information
FernandaDguez committed Jul 20, 2020
1 parent e2daf81 commit 2522094
Showing 1 changed file with 8 additions and 17 deletions.
25 changes: 8 additions & 17 deletions examples/ci/bazel.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,16 @@
options:
env:
GOPATH: /workspace
steps:
- id: get-workspace-gen
uses: docker://tikhoplav/go
args: [go, get, github.com/jin/create-bazel-workspace]

- id: install-gen
uses: docker://tikhoplav/go
args: [go, install, github.com/jin/create-bazel-workspace]

- id: gen-workspace
uses: docker://tikhoplav/go
args: [./bin/create-bazel-workspace]
- id: fetch-dependencies
uses: docker://insready/bazel
args: [bazel, fetch, //...]

- id: build
uses: docker://insready/bazel
dir: /workspace/bazel-workspace
args: [bazel, build]
args: [bazel, build, //...]

- id: test
uses: docker://insready/bazel
args: [bazel, test, //...]

- id: clean
uses: docker://insready/bazel
dir: /workspace/bazel-workspace
args: [bazel, clean]

0 comments on commit 2522094

Please sign in to comment.