From 4a5f61214c020ba113c3fc3fd3532c0eebaf1e24 Mon Sep 17 00:00:00 2001 From: maleo Date: Thu, 23 Jan 2025 10:37:03 +0000 Subject: [PATCH] Expand CI to test all Bazel targets --- .github/workflows/build.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 47d36965b26..a66b7f51be4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -580,15 +580,19 @@ jobs: runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v3 + - name: Setup swift + run: | + curl -L https://download.swift.org/swift-6.0.3-release/debian12/swift-6.0.3-RELEASE/swift-6.0.3-RELEASE-debian12.tar.gz | tar xz + echo "CC=clang" >> $GITHUB_ENV + echo "PATH=$PATH:$(pwd)/swift-6.0.3-RELEASE-debian12/usr/bin" >> $GITHUB_ENV - name: bazel build run: > - bazel build - //:flatc - //:flatbuffers + bazel build + //... - name: bazel test run: > bazel test - //tests:flatbuffers_test + //... release-digests: if: startsWith(github.ref, 'refs/tags/')