Skip to content

preserve SimpleAsyncIO completor before recycling ops #242

preserve SimpleAsyncIO completor before recycling ops

preserve SimpleAsyncIO completor before recycling ops #242

Workflow file for this run

# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
name: macos
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read # to fetch code (actions/checkout)
actions: read # to query GitHub Actions cache usage
jobs:
build:
runs-on: macOS-latest
timeout-minutes: 90
env:
SCCACHE_GHA_ENABLED: "on"
steps:
- uses: actions/checkout@v6
- name: Set up sccache
uses: mozilla-actions/sccache-action@v0.0.10
with:
version: "v0.14.0"
# Whatever the runner already has is used; the rest is fetched or built by
# the CMake build itself, so there is no dependency install step.
- name: Configure
run: >
cmake -B _build
-DCMAKE_BUILD_TYPE=RelWithDebInfo
-DBUILD_TESTS=ON
-DCMAKE_C_COMPILER_LAUNCHER=sccache
-DCMAKE_CXX_COMPILER_LAUNCHER=sccache
- name: Build
run: cmake --build _build -j
- name: Test
run: ctest --test-dir _build --output-on-failure
- name: Show sccache stats
if: always()
run: sccache --show-stats