-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0aa169e
commit bee8336
Showing
1 changed file
with
63 additions
and
0 deletions.
There are no files selected for viewing
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
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 | ||