From f6cfeab3579e5ec3fd150635973cf7a89b58ada2 Mon Sep 17 00:00:00 2001 From: Alex Denisov Date: Wed, 19 Oct 2022 16:29:08 +0200 Subject: [PATCH] Swift: add Xcode autobuilder to CI --- .github/workflows/swift-autobuilder.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/swift-autobuilder.yml diff --git a/.github/workflows/swift-autobuilder.yml b/.github/workflows/swift-autobuilder.yml new file mode 100644 index 00000000000..ea7761a442e --- /dev/null +++ b/.github/workflows/swift-autobuilder.yml @@ -0,0 +1,25 @@ +name: "Swift: Run Autobuilder Tests" + +on: + pull_request: + paths: + - "swift/xcode-autobuilder/**" + - "misc/bazel/**" + - "*.bazel*" + - .github/workflows/swift-autobuilder.yml + branches: + - main + +jobs: + integration-tests: + runs-on: macos-latest + steps: + - uses: actions/checkout@v3 + - uses: bazelbuild/setup-bazelisk@v2 + - uses: actions/setup-python@v3 + - name: Build the Xcode autobuilder + run: | + bazel build //swift/xcode-autobuilder + - name: Test the Xcode autobuilder + run: | + bazel test //swift/xcode-autobuilder/tests