Skip to content

adding CI 11

adding CI 11 #11

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: |
ls
cd riscv_disasm_from_sail
source ~/.bash_profile
opam install . --deps-only
rm *.gen.inc
dune exec --profile release -- riscv_disasm_from_sail -f bin/sail.filepaths.txt