set IniFilename to data/imgui.ini #19
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
name: Non regression tests for TimedPetriNetEditor | |
on: | |
push: | |
branches: | |
- master | |
- dev-refactor | |
pull_request: | |
branches: | |
- master | |
- dev-refactor | |
jobs: | |
non_regression_linux: | |
name: Non regression tests on Linux | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Install system packages | |
run: | | |
sudo apt-get update | |
sudo apt-get install libdw-dev pkg-config libmosquitto-dev libx11-dev libxinerama-dev | |
sudo apt-get install libasound2-dev libx11-dev libxrandr-dev libxi-dev libgl1-mesa-dev libglu1-mesa-dev libxcursor-dev | |
- name: Checkout TimedPetriNetEditor | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Compile TimedPetriNetEditor | |
run: | | |
make download-external-libs | |
make compile-external-libs | |
make -j`nproc --all` | |
- name: Download, configure and install Google test | |
run: | | |
wget https://github.com/google/googletest/archive/release-1.11.0.tar.gz | |
tar xf release-1.11.0.tar.gz | |
cd googletest-release-1.11.0 | |
cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON . | |
sudo make install | |
- name: Do non regression tests | |
run: | | |
cd tests | |
make -j`nproc --all` | |
./build/TimedPetriNetEditor-UnitTest | |
non_regression_macos: | |
name: Non regression tests on MacOS X | |
runs-on: macos-latest | |
steps: | |
- name: Install system packages | |
run: | | |
brew install pkg-config mosquitto raylib glfw glew | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Compile TimedPetriNetEditor | |
run: | | |
make download-external-libs | |
make compile-external-libs | |
make -j`sysctl -n hw.logicalcpu` | |
- name: Download, configure and install Google test | |
run: | | |
wget https://github.com/google/googletest/archive/release-1.11.0.tar.gz | |
tar xf release-1.11.0.tar.gz | |
cd googletest-release-1.11.0 | |
cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON . | |
sudo make install | |
- name: Do non regression tests | |
run: | | |
cd tests | |
make -j`sysctl -n hw.logicalcpu` | |
./build/TimedPetriNetEditor-UnitTest | |
- name: Create the DMG file | |
run: | | |
hdiutil create -format UDZO -srcfolder build/TimedPetriNetEditor.app build/TimedPetriNetEditor.dmg | |
- name: Deploy | |
uses: actions/upload-artifact@v3 | |
with: | |
name: TimedPetriNetEditor-macos | |
path: build/TimedPetriNetEditor.dmg |