cxx 1.0.198

Safe interop between Rust and C++
Documentation
name: Buck2

on:
  push:
  workflow_dispatch:
  schedule: [cron: "40 1,13 * * *"]

permissions:
  contents: read

jobs:
  buck2:
    name: Buck2 on ${{matrix.os == 'ubuntu' && 'Linux' || matrix.os == 'macos' && 'macOS' || matrix.os == 'windows' && 'Windows' || '???'}}
    runs-on: ${{matrix.os}}-latest
    strategy:
      fail-fast: false
      matrix:
        os: [ubuntu, macos, windows]
    timeout-minutes: 45
    steps:
      - uses: actions/checkout@v7
      - uses: dtolnay/rust-toolchain@stable
        with:
          components: rust-src
      - uses: dtolnay/install-buck2@latest
      - run: buck2 run demo
      - run: buck2 build ...
      - run: buck2 test ...
      - name: Run buck2 starlark lint
        run: git ls-files ':(glob)tools/buck/**/*.bzl' | xargs buck2 starlark lint