Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/bazel_test_post_merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Bazel Test (Post-Merge)

on:
push:
branches:
- master

jobs:
trigger-win-latest-test:
# This prevents the workflow from running automatically when someone
# pushes to their fork.
if: github.repository == 'cel-expr/cel-cpp'
uses: ./.github/workflows/windows_bazel_test.yml
trigger-mac-latest-test:
if: github.repository == 'cel-expr/cel-cpp'
uses: ./.github/workflows/macos_bazel_test.yml
26 changes: 26 additions & 0 deletions .github/workflows/macos_bazel_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: MacOS Bazel Test

on:
workflow_call:
workflow_dispatch:

jobs:
test:
name: Run Bazel Tests
runs-on: macos-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Setup Bazel and Bazelisk
uses: bazel-contrib/setup-bazel@0.19.0
with:
bazelisk-cache: true
disk-cache: ${{ github.workflow }}
repository-cache: true

- name: Run Tests
shell: bash
# TODO: <filesystem> is not supported on all target versions in xcode, so not running policy conformance.
run: |
bazelisk test --copt=-Wno-deprecated-declarations --copt=-Wno-nullability-completeness conformance:all
2 changes: 1 addition & 1 deletion .github/workflows/windows_bazel_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ jobs:
# //... won't work.
shell: bash
run: |
bazelisk test --config=msvc conformance:all conformance/policy:all
bazelisk test --config=msvc conformance:all conformance/policy:all
13 changes: 0 additions & 13 deletions .github/workflows/windows_bazel_test_post_merge.yml

This file was deleted.

Loading