-
Notifications
You must be signed in to change notification settings - Fork 2
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
1d62f08
commit 8b6da90
Showing
1 changed file
with
32 additions
and
32 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 |
---|---|---|
@@ -1,47 +1,47 @@ | ||
name: CMake | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
env: | ||
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) | ||
BUILD_TYPE: Release | ||
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) | ||
BUILD_TYPE: Release | ||
|
||
jobs: | ||
build-linux: | ||
# Builds `sstamina`, `libstamina.so`, and `xstamina` for Linux x86-64 bit (ELF Format) | ||
runs-on: ubuntu-latest | ||
build-linux: | ||
# Builds `sstamina`, `libstamina.so`, and `xstamina` for Linux x86-64 bit (ELF Format) | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: UIC Build | ||
# Install the necessary stuff for the GUI | ||
working-directory: ${{github.workspace}}/src/stamina/gui | ||
run: apt install libqt5-dev libkf5xmlgui-dev libkf5textwidgets-dev libkf5kio-dev libkf5texteditor-dev qtbase5-dev qtdeclarative5-dev libqt5svg5-dev libkf5i18n-dev libkf5coreaddons-dev extra-cmake-modules | ||
run: make | ||
- name: UIC Build | ||
# Install the necessary stuff for the GUI | ||
working-directory: ${{github.workspace}}/src/stamina/gui | ||
run: apt install libqt5-dev libkf5xmlgui-dev libkf5textwidgets-dev libkf5kio-dev libkf5texteditor-dev qtbase5-dev qtdeclarative5-dev libqt5svg5-dev libkf5i18n-dev libkf5coreaddons-dev extra-cmake-modules | ||
run: make | ||
|
||
- name: Build Storm | ||
run: git clone https://github.com/moves-rwth/storm ${{github.workspace}}/storm | ||
run: cmake ${{github.workspace}}/storm -B ${{github.workspace}}/storm/build | ||
run: cmake --build ${{github.workspace}}/storm/build | ||
- name: Build Storm | ||
run: git clone https://github.com/moves-rwth/storm ${{github.workspace}}/storm | ||
run: cmake ${{github.workspace}}/storm -B ${{github.workspace}}/storm/build | ||
run: cmake --build ${{github.workspace}}/storm/build | ||
|
||
|
||
- name: Configure CMake | ||
run: cmake -B ${{github.workspace}}/build -DBUILD_GUI=On -DSTORM_PATH=${{github.workspace}}/storm | ||
- name: Configure CMake | ||
run: cmake -B ${{github.workspace}}/build -DBUILD_GUI=On -DSTORM_PATH=${{github.workspace}}/storm | ||
|
||
- name: Build | ||
# Build your program with the given configuration | ||
run: cmake --build ${{github.workspace}}/build | ||
- name: Build | ||
# Build your program with the given configuration | ||
run: cmake --build ${{github.workspace}}/build | ||
|
||
# Will add this when we add unit tests | ||
# - name: Test | ||
# working-directory: ${{github.workspace}}/build | ||
# Execute tests defined by the CMake configuration. | ||
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail | ||
# run: ctest -C ${{env.BUILD_TYPE}} | ||
# Will add this when we add unit tests | ||
# - name: Test | ||
# working-directory: ${{github.workspace}}/build | ||
# Execute tests defined by the CMake configuration. | ||
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail | ||
# run: ctest -C ${{env.BUILD_TYPE}} | ||
|
||
# Builds the | ||
# Builds the |