Handle case and refactor test APIs #11
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
name: CI | |
on: | |
push: | |
branches: | |
- dev | |
pull_request: | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get -y install ninja-build | |
echo "meson==0.61.1 --hash=sha256:81113785106d485e38d85b92169dca112e6e077880731ac37d29fc9898e1efb5" > requirements.txt | |
sudo pip3 install -r requirements.txt # ubuntu meson is too old | |
- name: Build and install rizin | |
run: | | |
git clone https://github.com/rizinorg/rizin | |
cd rizin | |
meson build --prefix=/usr | |
ninja -C build | |
sudo ninja -C build install | |
- name: Build rz-solver | |
run: | | |
meson build --prefix=/usr | |
ninja -C build | |
sudo ninja -C build install | |
- name: Run tests | |
run: ls #make -C test |