Skip to content

Updating hashes

Updating hashes #276

name: Buck build and test
on:
push:
pull_request:
workflow_dispatch:
jobs:
buck-build-and-test:
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}-latest
strategy:
fail-fast: false
matrix:
os: [ubuntu, macos]
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- uses: facebook/install-dotslash@latest
- run: sudo apt-get update && sudo apt-get install opam
if: matrix.os == 'ubuntu'
- run: brew install opam
if: matrix.os == 'macos'
- run: |
opam init --compiler=5.2.0 --disable-sandboxing -y
opam env | sed -e "s/ export .*//g" -e "s/'//g" -e "s/\;//g" >> $GITHUB_ENV
- run: ./ocaml-setup.sh
- run: cargo install --git https://github.com/facebookincubator/reindeer.git reindeer --force
- run: reindeer --third-party-dir shim/third-party/rust buckify
- run: ./buck2 build root//... -v 2