Skip to content

Add initial batch of more documented and organized examples #38

Add initial batch of more documented and organized examples

Add initial batch of more documented and organized examples #38

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
name: Build and test
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ["3.10"]
env:
Z3_VERSION: "4.11.2"
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Install Z3
run: |
wget -nv https://github.com/Z3Prover/z3/releases/download/z3-${Z3_VERSION}/z3-${Z3_VERSION}-x64-glibc-2.31.zip
unzip z3-${Z3_VERSION}-x64-glibc-2.31.zip
echo `pwd`/z3-${Z3_VERSION}-x64-glibc-2.31/bin >> $GITHUB_PATH
echo PYTHONPATH=`pwd`/z3-${Z3_VERSION}-x64-glibc-2.31/bin/python >> $GITHUB_ENV
- run: z3 --version # make sure z3 is installed
- run: python3 -c 'import z3' # make sure z3 can be imported from python
- run: make gh-test