Buck2 #1132
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ... |