Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[stdlib] Adds functionality to spawn and manage processes from exec. file#6014

[stdlib] Adds functionality to spawn and manage processes from exec. file

[stdlib] Adds functionality to spawn and manage processes from exec. file #6014

##===----------------------------------------------------------------------===##
# Copyright (c) 2025, Modular Inc. All rights reserved.
#
# Licensed under the Apache License v2.0 with LLVM Exceptions:
# https://llvm.org/LICENSE.txt
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
##===----------------------------------------------------------------------===##
name:Build and Test
on:
pull_request:
types:[opened, synchronize, reopened]
workflow_dispatch:
push:
branches:
-main
paths:
-"bazel/mojo.MODULE.bazel"
permissions:
contents:read
pull-requests:read
concurrency:# Only allow a single build/test run at a time for a PR.
group:${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress:true
jobs:
build-and-test:
name:Build and Test on ${{ matrix.os }}
strategy:
fail-fast:false
matrix:
os:["large-oss-linux", "macos-15"]
runs-on:${{ matrix.os }}
defaults:
run:
shell:bash
env:
DEBIAN_FRONTEND:noninteractive
steps:
-name:Checkout repo
uses:actions/checkout@v4
-name:Build and Test
run:|
if [[ -n "${BUILDBUDDY_TOKEN:-}" ]]; then
# NOTE: Read+write token that only runs on trusted PRs.
args=(
--remote_header=x-buildbuddy-api-key=$BUILDBUDDY_TOKEN
)
else
# NOTE: Readonly token that we're ok with being here.
args=(
--remote_header=x-buildbuddy-api-key=gJPttl2LQEONgD2aKziQ
--remote_upload_local_results=false
)
fi
# NOTE: Skip the buildbuddy sidecar on linux where the machine is too small.
# TODO: Remove this once upstream has fixed the issue.
BB_DISABLE_SIDECAR=1 ./bazelw test --config=ci --config=public-cache "${args[@]}" --build_tag_filters=-skip-external-ci-${{ matrix.os }},-requires-network --test_tag_filters=-skip-external-ci-${{ matrix.os }},-requires-network -- //...
env:
BUILDBUDDY_TOKEN:${{ secrets.BUILDBUDDY_TOKEN }}

[8]ページ先頭

©2009-2025 Movatter.jp