Skip to content

adding CI 21

adding CI 21 #21

on:
- push
jobs:
smoke-test:
runs-on: ubuntu-latest
steps:
- name: Set up the Ocaml toolchain
run: |
sudo apt-get install bubblewrap
echo "" | bash -c "sh <(curl -fsSL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh)"
echo "1" | opam init
opam install dune
- name: Fetching the generator sources
uses: actions/checkout@v4
- name: Running the generator
run: |
source ~/.bash_profile
export OPAMCONFIRMLEVEL=yes
opam install ./libsail.opam.locked
ocamlfind query libsail
echo ":: :::::::::::::::::::::: TRYING TO BUILD...."
rm *.gen.inc
dune exec --profile release -- riscv_disasm_from_sail -f bin/sail.filepaths.txt