Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cmake updates #602

Open
wants to merge 36 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
6359119
add assertions in a bug hunt
sjunges May 24, 2024
5223187
Merge branch 'master' of https://github.com/moves-rwth/storm
sjunges Jun 1, 2024
976bd76
Merge branch 'master' of https://github.com/moves-rwth/storm
sjunges Jun 4, 2024
bdbc3cb
Merge branch 'master' of https://github.com/moves-rwth/storm
sjunges Aug 20, 2024
52cfeea
removed untargeted include directories in favour of targeted include …
sjunges Aug 20, 2024
a221bd6
fix version exporting
sjunges Aug 20, 2024
0849dcb
Merge branch 'targetincludes' into stormpyprep
sjunges Aug 20, 2024
c7080da
stormversion prolbem
sjunges Aug 20, 2024
34b0323
cmake_dir to project_dir
sjunges Aug 20, 2024
87e6585
carl via fetchcontent
sjunges Aug 26, 2024
4e9cc97
update
sjunges Aug 28, 2024
120be47
Merge branch 'master' of https://github.com/moves-rwth/storm
sjunges Aug 28, 2024
db17d6f
Merge branch 'master' into stormpyprep
sjunges Aug 28, 2024
59dd288
upate
sjunges Aug 28, 2024
4bccfc9
updates
sjunges Aug 28, 2024
dbff1a8
updates
sjunges Sep 3, 2024
0508d75
Merge branch 'master' of https://github.com/moves-rwth/storm
sjunges Sep 4, 2024
cdc5c9f
Merge branch 'master' into stormpyprep
sjunges Sep 4, 2024
9531c6e
updates
sjunges Sep 4, 2024
927f22d
update
sjunges Sep 4, 2024
fbec5e3
Merge branch 'master' of https://github.com/moves-rwth/storm
sjunges Sep 25, 2024
3f77cdc
Merge branch 'master' of https://github.com/moves-rwth/storm
sjunges Nov 9, 2024
d76f1df
Merge branch 'master' of https://github.com/moves-rwth/storm
sjunges Jan 13, 2025
891651f
Merge branch 'master' of https://github.com/moves-rwth/storm
sjunges Jan 14, 2025
9782fb6
Merge branch 'master' of https://github.com/moves-rwth/storm
sjunges Jan 14, 2025
2ccf76f
Merge branch 'master' of https://github.com/moves-rwth/storm
sjunges Feb 3, 2025
029c09f
Merge branch 'master' into stormpyprep
sjunges Feb 4, 2025
2063d88
update some wip stuff
sjunges Feb 4, 2025
2588658
outdated skip
sjunges Feb 4, 2025
56c209d
updates to cmake building
sjunges Feb 11, 2025
77f69ce
Merge branch 'master' of https://github.com/moves-rwth/storm into sto…
sjunges Feb 11, 2025
60ec049
setting the version in some libs
sjunges Feb 12, 2025
692a95c
various updates, including some suggestions by MV
sjunges Feb 18, 2025
eb8ba83
target sources
sjunges Feb 19, 2025
250facd
buildtest stuff from MV and no more ubuntu 22.04
sjunges Feb 19, 2025
a73d3c9
typo
sjunges Feb 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/Dockerfile.archlinux
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ ARG no_threads=1

# Specify Storm configuration (ON/OFF)
ARG gurobi_support="ON"
ARG mathsat_support="ON"
ARG soplex_support="ON"
ARG spot_support="ON"
ARG developer="OFF"
Expand Down Expand Up @@ -51,6 +52,7 @@ WORKDIR /opt/storm/build
RUN cmake .. -DCMAKE_BUILD_TYPE=$build_type \
-DSTORM_PORTABLE=ON \
-DSTORM_USE_GUROBI=$gurobi_support \
-DSTORM_USE_MATHSAT=$mathsat_support \
-DSTORM_USE_SOPLEX=$soplex_support \
-DSTORM_USE_SPOT_SYSTEM=$spot_support \
-DSTORM_DEVELOPER=$developer \
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/Dockerfile.doxygen
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ WORKDIR /opt/storm/build
RUN cmake .. -DCMAKE_BUILD_TYPE=Release \
-DSTORM_PORTABLE=ON \
-DSTORM_USE_GUROBI=ON \
-DSTORM_USE_MATHSAT=ON \
-DSTORM_USE_SOPLEX=ON \
-DSTORM_USE_SPOT_SYSTEM=ON

Expand Down
52 changes: 31 additions & 21 deletions .github/workflows/buildtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ name: Build Test

on:
schedule:
# run daily
- cron: '0 6 * * *'
# run daily
- cron: '0 6 * * *'
# needed to trigger the workflow manually
workflow_dispatch:
pull_request:
Expand All @@ -26,62 +26,67 @@ jobs:
baseImg: "storm-dependencies:latest-debug",
buildType: "Debug",
Gurobi: "ON",
Mathsat: "ON",
Soplex: "ON",
Spot: "ON",
Developer: "ON",
ClnExact: "OFF",
ClnRatfunc: "OFF",
AllSanitizers: "ON",
cmakeArgs: "-DMSAT_ROOT=/opt/mathsat5"
}
cmakeArgs: ""
}
- {name: "CLN exact; GMP rational functions; All dependencies",
baseImg: "storm-dependencies:latest-debug",
buildType: "Debug",
Gurobi: "ON",
Mathsat: "ON",
Soplex: "ON",
Spot: "ON",
Developer: "ON",
ClnExact: "ON",
ClnRatfunc: "OFF",
AllSanitizers: "ON",
cmakeArgs: "-DMSAT_ROOT=/opt/mathsat5"
}
cmakeArgs: ""
}
- {name: "CLN exact; CLN rational functions; All dependencies",
baseImg: "storm-dependencies:latest-debug",
buildType: "Debug",
Gurobi: "ON",
Mathsat: "ON",
Soplex: "ON",
Spot: "ON",
Developer: "ON",
ClnExact: "ON",
ClnRatfunc: "ON",
AllSanitizers: "ON",
cmakeArgs: "-DMSAT_ROOT=/opt/mathsat5"
}
cmakeArgs: ""
}
- {name: "GMP exact; CLN rational functions; No dependencies",
baseImg: "storm-dependencies:latest-debug",
buildType: "Debug",
Gurobi: "OFF",
Mathsat: "OFF",
Soplex: "OFF",
Spot: "OFF",
Developer: "ON",
ClnExact: "OFF",
ClnRatfunc: "ON",
AllSanitizers: "ON",
cmakeArgs: "-DMSAT_ROOT="
}
cmakeArgs: ""
}
- {name: "Minimal dependencies",
baseImg: "storm-basesystem:minimal_dependencies",
buildType: "Debug",
baseImg: "storm-basesystem:minimal_dependencies",
buildType: "Debug",
Gurobi: "OFF",
Mathsat: "OFF",
Soplex: "OFF",
Spot: "OFF",
Developer: "ON",
ClnExact: "OFF",
ClnRatfunc: "ON",
AllSanitizers: "ON",
cmakeArgs: "-DMSAT_ROOT="
}
cmakeArgs: ""
}
steps:
- name: Git clone
uses: actions/checkout@v4
Expand All @@ -91,6 +96,7 @@ jobs:
--build-arg BASE_IMG=movesrwth/${{ matrix.config.baseImg }} \
--build-arg build_type="${{ matrix.config.buildType }}" \
--build-arg gurobi_support="${{ matrix.config.Gurobi }}" \
--build-arg mathsat_support="${{ matrix.config.Mathsat }}" \
--build-arg soplex_support="${{ matrix.config.Soplex }}" \
--build-arg spot_support="${{ matrix.config.Spot }}" \
--build-arg developer="${{ matrix.config.Developer }}" \
Expand Down Expand Up @@ -129,21 +135,23 @@ jobs:
- {name: "GCC",
buildType: "Debug",
Gurobi: "OFF",
Mathsat: "OFF",
Soplex: "OFF",
Spot: "OFF",
Developer: "ON",
cmakeArgs: "-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DSTORM_USE_SPOT_SHIPPED=ON",
packages: ""
}
}
- {name: "Clang",
buildType: "Debug",
Gurobi: "OFF",
Mathsat: "OFF",
Soplex: "OFF",
Spot: "OFF",
Developer: "ON",
cmakeArgs: "-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DSTORM_USE_SPOT_SHIPPED=ON",
packages: "clang"
}
}
steps:
- name: Git clone
uses: actions/checkout@v4
Expand All @@ -154,6 +162,7 @@ jobs:
docker build -t movesrwth/storm:ci . \
--build-arg build_type="${{ matrix.config.buildType }}" \
--build-arg gurobi_support="${{ matrix.config.Gurobi }}" \
--build-arg mathsat_support="${{ matrix.config.Mathsat }}" \
--build-arg soplex_support="${{ matrix.config.Soplex }}" \
--build-arg spot_support="${{ matrix.config.Spot }}" \
--build-arg developer="${{ matrix.config.Developer }}" \
Expand Down Expand Up @@ -185,7 +194,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
distro: ["debian-12", "ubuntu-22.04", "ubuntu-24.04"]
distro: ["debian-12", "ubuntu-24.04"]
buildType: ["Release"]
steps:
- name: Git clone
Expand All @@ -196,6 +205,7 @@ jobs:
--build-arg BASE_IMG=movesrwth/storm-basesystem:${{ matrix.distro }} \
--build-arg build_type="${{ matrix.buildType }}" \
--build-arg gurobi_support="OFF" \
--build-arg mathsat_support="OFF" \
--build-arg soplex_support="OFF" \
--build-arg spot_support="OFF" \
--build-arg no_threads=${NR_JOBS}
Expand Down Expand Up @@ -229,12 +239,12 @@ jobs:
dockerTag: "ci-debug",
baseImg: "storm-dependencies:latest-debug",
Developer: "ON"
}
}
- {name: "Release",
dockerTag: "ci",
baseImg: "storm-dependencies:latest",
Developer: "OFF"
}
}
steps:
- name: Git clone
uses: actions/checkout@v4
Expand All @@ -251,7 +261,7 @@ jobs:
--build-arg developer="${{ matrix.buildType.Developer }}" \
--build-arg cmake_args="${{ matrix.buildType.cmakeArgs }}" \
--build-arg no_threads=${NR_JOBS}
# Omitting arguments gurobi_support, soplex_support, spot_support, cln_exact, cln_ratfunc, all_sanitizers
# Omitting arguments gurobi_support, mathsat_support, soplex_support, spot_support, cln_exact, cln_ratfunc, all_sanitizers
- name: Run Docker
run: docker run -d -it --name ci movesrwth/storm:${{ matrix.buildType.dockerTag }}

Expand Down Expand Up @@ -303,4 +313,4 @@ jobs:
For more information, see https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
to: ${{ secrets.STORM_CI_MAIL_RECIPIENTS }}
from: Github Actions <[email protected]>
if: env.WORKFLOW_CONCLUSION != 'success' # notify only if failure
if: env.WORKFLOW_CONCLUSION != 'success' # notify only if failure
2 changes: 1 addition & 1 deletion .github/workflows/release_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
--build-arg developer="${{ matrix.buildType.Developer }}" \
--build-arg cmake_args="${{ matrix.buildType.cmakeArgs }}" \
--build-arg no_threads=${NR_JOBS}
# Omitting arguments gurobi_support, soplex_support, spot_support, cln_exact, cln_ratfunc, all_sanitizers
# Omitting arguments gurobi_support, soplex_support, mathsat_support, spot_support, cln_exact, cln_ratfunc, all_sanitizers
- name: Login to Docker Hub
# Only login if using original repo
if: github.repository_owner == 'moves-rwth'
Expand Down
Loading
Loading