Skip to content

Buck2

Buck2 #395

Workflow file for this run

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@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rust-src
- uses: dtolnay/install-buck2@latest
- run: buck2 run demo
- run: buck2 build ...
- run: buck2 test ...