Skip to content

Commit

Permalink
ci: add example running
Browse files Browse the repository at this point in the history
  • Loading branch information
marcofavorito committed Oct 23, 2024
1 parent 92aa354 commit b26c9d1
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ jobs:
# build slugs
sudo apt install -y libboost-all-dev
cd submodules/slugs/src && make -j
- name: install Syfco
run: |
curl -sSL https://get.haskellstack.org/ | sh
git clone https://github.com/reactive-systems/syfco.git
cd syfco
git checkout 50585e0
stack install
- name: Install Z3
run: |
wget https://github.com/Z3Prover/z3/releases/download/z3-4.8.12/z3-4.8.12-x64-glibc-2.31.zip
Expand Down Expand Up @@ -87,3 +94,16 @@ jobs:
# TODO: disable Lydia tests, temporarily run them manually
# run: ctest -C ${{env.BUILD_TYPE}}
run: ${{github.workspace}}/build/bin/tests

- name: Examples
working-directory: ${{github.workspace}}/build
# Execute examples
run: |
${{github.workspace}}/build//bin/quickstart_example
${{github.workspace}}/build//bin/dfa_representation_example
${{github.workspace}}/build//bin/dfa_creation_and_manipulation_example
${{github.workspace}}/build//bin/ltlf_synthesis_example
${{github.workspace}}/build//bin/ltlf_synthesis_maximally_permissive_example
${{github.workspace}}/build//bin/ltlf_synthesis_with_fairness_constraints_example
${{github.workspace}}/build//bin/ltlf_synthesis_with_stability_constraints_example
${{github.workspace}}/build//bin/ltlf_synthesis_with_gr1_env_spec_example

0 comments on commit b26c9d1

Please sign in to comment.