Skip to content

Commit

Permalink
Expand CI to test all Bazel targets
Browse files Browse the repository at this point in the history
  • Loading branch information
mering committed Jan 23, 2025
1 parent 684c6ab commit 8a7ae42
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/')
Expand Down

0 comments on commit 8a7ae42

Please sign in to comment.