Skip to content

[DNM, WIP] 2024/01 catch up with dependencies #66

[DNM, WIP] 2024/01 catch up with dependencies

[DNM, WIP] 2024/01 catch up with dependencies #66

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: [ubuntu-20.04]
steps:
- name: Install dependencies
run: |
sudo apt update
sudo apt install -y opam zlib1g-dev pkg-config libgmp-dev z3 cvc4
- name: Init opam
run: opam init -y
- name: Install sail
run: opam install -y sail
- name: Check out repository code
uses: actions/checkout@HEAD
with:
submodules: true
- name: Build simulators
run: |
# fake committer details to satisfy git am
git config --global user.name "No One"
git config --global user.email "noone@nowhere.com"
make patch_sail_riscv
eval $(opam env) && make csim
mkdir install
cp c_emulator/cheriot_sim install
cp LICENSE install/LICENCE-cheriot-sail
cp sail-riscv/LICENCE install/LICENCE-sail-riscv
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: cheriot_sim
path: install/