Skip to content

Commit e77fbc7

Browse files
committed
restore plain, no deps building install
1 parent d401bb6 commit e77fbc7

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/cmake.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)