From d4764ee4c0de1afaf7fccb32102f7542611f9b34 Mon Sep 17 00:00:00 2001 From: Pawel Czarnecki Date: Tue, 13 Feb 2024 15:37:17 +0100 Subject: [PATCH] set working directory for bazel builds Signed-off-by: Pawel Czarnecki --- .github/workflows/ci.yml | 6 ++++++ .github/workflows/ci_docker.yml | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3ab1fd7..33d90e6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 diff --git a/.github/workflows/ci_docker.yml b/.github/workflows/ci_docker.yml index eea68f3..3c8156b 100644 --- a/.github/workflows/ci_docker.yml +++ b/.github/workflows/ci_docker.yml @@ -2,7 +2,6 @@ name: docker update on: workflow_dispatch: - push: jobs: docker: