adding CI 26 #26
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
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 . --deps-only | |
rm *.gen.inc | |
dune exec --profile release -- riscv_disasm_from_sail -f bin/sail.filepaths.txt |