Revert swift.yml change: swift/ builds C++, not Swift code

This commit is contained in:
copilot-swe-agent[bot]
2026-07-13 22:31:19 +00:00
committed by GitHub
parent 32dcc0f418
commit 45a42b0393
2 changed files with 3 additions and 10 deletions

View File

@@ -44,18 +44,12 @@ jobs:
sudo apt-get install -y uuid-dev zlib1g-dev
- name: Build Swift extractor
shell: bash
env:
# On macOS, opt into the Xcode-coupled toolchain wiring only for
# Swift builds. Empty on Linux (hermetic swift.org toolchain).
BAZEL_SWIFT_CONFIG: ${{ runner.os == 'macOS' && '--config=swift_macos' || '' }}
run: |
bazel run $BAZEL_SWIFT_CONFIG :install
bazel run :install
- name: Run Swift tests
shell: bash
env:
BAZEL_SWIFT_CONFIG: ${{ runner.os == 'macOS' && '--config=swift_macos' || '' }}
run: |
bazel test $BAZEL_SWIFT_CONFIG ... --test_tag_filters=-override --test_output=errors
bazel test ... --test_tag_filters=-override --test_output=errors
clang-format:
runs-on: ubuntu-latest
steps: