Skip to content

Commit

Permalink
add GitHub CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sockmaster27 authored and jacopol committed Oct 30, 2024
1 parent 0aa169e commit bee8336
Showing 1 changed file with 63 additions and 0 deletions.
63 changes: 63 additions & 0 deletions .github/workflows/Tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: Run Tests

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Update and upgrade
run: |
sudo apt update
- name: Install dependencies
run: |
# Required installs from github:
sudo apt install make -y
sudo apt install automake -y
sudo apt install libtool -y
sudo apt install flex -y
sudo apt install bison -y
sudo apt install pkgconf -y
sudo apt install cmake -y
#
sudo apt install libpopt-dev -y
sudo apt install zlib1g-dev -y
sudo apt install openjdk-11-jre -y
sudo apt install ant -y
- name: Install Sylvan
run: |
sudo apt install libgmp-dev -y
sudo apt install libhwloc-dev -y
git clone https://github.com/trolando/sylvan.git
cd sylvan
mkdir build
cd build
cmake ..
make
sudo make install
cd ../..
- name: Install PNML
run: |
sudo apt install xml2 -y
sudo apt install libxml2-dev -y
- name: Configure LTSMin
run: ./ltsminreconf
- name: Intialize SPINS
run: |
cd spins/src
ant
cd ../..
- name: Run tests
run: |
./configure --disable-dependency-tracking --with-spins
make
make check

0 comments on commit bee8336

Please sign in to comment.