File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ jobs:
107107 - name : Build and install emas
108108 run : git clone https://github.com/jakubfi/emas && cmake -S emas -B emas/build -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_INSTALL_PREFIX=${{env.INSTALL_PREFIX}} && cmake --build emas/build && cmake --install emas/build
109109 - name : Configure project
110- run : cmake -S . -B build -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_INSTALL_PREFIX=${{env.INSTALL_PREFIX}} -DEM400_BUILD_INSTALLER=ON
110+ run : cmake -S . -B build -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_INSTALL_PREFIX=${{env.INSTALL_PREFIX}}
111111 - name : Build
112112 run : cmake --build build
113113 - name : First run creates default config
@@ -129,6 +129,12 @@ jobs:
129129 run : cd tests && ./runtests.py
130130 - name : Run tests (timing all)
131131 run : cd tests && ./runtests.py -O general:timing=all
132+ - name : Install (plain, no dependency bundling)
133+ run : |
134+ cmake --install build --prefix "$(cygpath -w "$PWD/stage")"
135+ test -f stage/bin/em400.exe || { echo "em400.exe was not installed"; exit 1; }
136+ - name : Configure installer build
137+ run : cmake -S . -B build -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_INSTALL_PREFIX=${{env.INSTALL_PREFIX}} -DEM400_BUILD_INSTALLER=ON
132138 - name : Build installer
133139 run : cd build && cpack
134140 - name : Upload installer
You can’t perform that action at this time.
0 commit comments