Skip to content

Commit

Permalink
set working directory for bazel builds
Browse files Browse the repository at this point in the history
Signed-off-by: Pawel Czarnecki <[email protected]>
  • Loading branch information
lpawelcz committed Feb 13, 2024
1 parent f4c615f commit d4764ee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,11 @@ jobs:
run: |
bazel query ${{ matrix.TARGET }}
bazel query ${{ matrix.TARGET }} --output=build
working-directory: megaboom
- name: build target
run: |
bazel build --subcommands --verbose_failures --sandbox_debug ${{ matrix.TARGET }}
working-directory: megaboom

test-local-runner-target:
name: Execute sample local_runner scripts
Expand Down Expand Up @@ -87,14 +89,18 @@ jobs:
run: |
bazel query ${{ matrix.TARGET }}
bazel query ${{ matrix.TARGET }} --output=build
working-directory: megaboom
- name: build target
run: |
bazel build --subcommands --verbose_failures --sandbox_debug ${{ matrix.TARGET }}
working-directory: megaboom
- name: set file permissions
run: |
cd bazel-bin
chmod -R +w .
cd ..
working-directory: megaboom
- name: run local_runner
run: |
./bazel-bin/${{ matrix.TARGET }} ${{ matrix.MAKE_TARGET }}
working-directory: megaboom
1 change: 0 additions & 1 deletion .github/workflows/ci_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: docker update

on:
workflow_dispatch:
push:

jobs:
docker:
Expand Down

0 comments on commit d4764ee

Please sign in to comment.