Skip to content

fix missing nat/byt libs for unix, threads #29

fix missing nat/byt libs for unix, threads

fix missing nat/byt libs for unix, threads #29

Workflow file for this run

name: Run tests
on:
push:
pull_request:
workflow_dispatch:
jobs:
run-tests:
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}-latest
strategy:
fail-fast: false
matrix:
os: [ubuntu, macos]
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- uses: facebook/install-dotslash@latest
- run: sudo apt-get install opam
if: matrix.os == 'ubuntu'
- run: brew install opam
if: matrix.os == 'macos'
- run: |-
opam init --color=always --compiler=5.1.1 --disable-sandboxing -y
opam install --color=always ocamlfind
opam env | sed -e "s/ export .*//g" -e "s/'//g" -e "s/\;//g" >> $GITHUB_ENV
- run: |-
mkdir -p third-party/ocaml
(cd third-party/ocaml && ln -s "$OPAM_SWITCH_PREFIX" opam)
python3 dromedary.py -s "$(basename $OPAM_SWITCH_PREFIX)" -o third-party/ocaml/BUCK.test
- run: echo "PATH=$(pwd):$PATH" >> $GITHUB_ENV
- run: |-
buck2 run root//test:version
cat $(buck2 build root//test:config --show-full-simple-output)
buck2 run root//test:unix