Skip to content

Commit

Permalink
Only test macOS in BCR presubmit
Browse files Browse the repository at this point in the history
  • Loading branch information
jpsim committed Apr 8, 2024
1 parent c3a8f89 commit a163191
Showing 1 changed file with 3 additions and 20 deletions.
23 changes: 3 additions & 20 deletions .bcr/presubmit.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,7 @@
shell_commands: &shell_commands
- "echo --- Downloading and extracting Swift $SWIFT_VERSION to $SWIFT_HOME"
- "mkdir $SWIFT_HOME"
- "curl https://download.swift.org/swift-${SWIFT_VERSION}-release/ubuntu2004/swift-${SWIFT_VERSION}-RELEASE/swift-${SWIFT_VERSION}-RELEASE-ubuntu20.04.tar.gz | tar xvz --strip-components=1 -C $SWIFT_HOME"

tasks:
verify_targets_linux:
name: Verify targets (Linux)
platform: ubuntu2004
environment:
CC: "clang"
SWIFT_VERSION: "5.10"
SWIFT_HOME: "$HOME/swift-$SWIFT_VERSION"
PATH: "$PATH:$SWIFT_HOME/usr/bin"
shell_commands: *shell_commands
build_flags:
- "--action_env=PATH"
build_targets:
- '@yams//:Yams'
verify_targets_macos:
name: Verify targets (macOS)
verify_targets:
name: Verify build targets
platform: macos
bazel: 7.x
build_targets:
- '@yams//:Yams'

0 comments on commit a163191

Please sign in to comment.