From beeeed9ea433d8d018501ca880d027cd82874d31 Mon Sep 17 00:00:00 2001 From: anrp Date: Mon, 16 Oct 2023 16:56:07 +0000 Subject: [PATCH] Fetch and install prereqs --- .github/workflows/main.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ac7eacd..c3e31f1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,5 +24,11 @@ jobs: - name: Setup Bazelisk uses: bazelbuild/setup-bazelisk@v1.0.1 - - name: bazel build - run: bazel build //... -k + - name: Get drake + run: bazel fetch @drake//common || true + + - name: install prereqs + run: sudo `bazel info output_base`/external/drake/setup/ubuntu/install_prereqs.sh + + - name: build + run: bazel build //...