Skip to content

Commit 717ebef

Browse files
committed
Fix and small tweaks to CI
1 parent 0d2f9cb commit 717ebef

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ jobs:
2727
cmake -S . -B build -Wdev -DCMAKE_INSTALL_PREFIX:PATH="${HOME}/OpenCoarrays" -DCMAKE_BUILD_TYPE:STRING="Debug" ..
2828
cmake --build build -j $(nproc)
2929
cmake --build build -t install -j $(nproc) || echo "installation failed"
30-
ctest --output-on-failure --schedule-random --repeat-until-fail 1 --timeout 200
31-
make install
30+
ctest --test-dir build --output-on-failure --schedule-random --repeat-until-fail 1 --timeout 200
31+
cd build
3232
make uninstall

.github/workflows/win-ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,7 @@ jobs:
5454
cmake -Wdev -G "Unix Makefiles" -S . -B build -DCMAKE_INSTALL_PREFIX="${HOME}/apps/OpenCoarrays" -DCMAKE_BUILD_TYPE:STRING="Debug"
5555
cmake --build build -j
5656
cmake --build build -t install -j || echo "installation failed"
57-
cd build
58-
ctest --output-on-failure --schedule-random --repeat-until-fail 1 --timeout 200
59-
cd ..
57+
ctest --test-dir build --output-on-failure --schedule-random --repeat-until-fail 1 --timeout 200
6058
echo "${HOME}/apps/OpenCoarrays/bin" >> $GITHUB_PATH
6159
export PATH="${HOME}/apps/OpenCoarrays/bin:${PATH}"
6260
which caf || true

0 commit comments

Comments
 (0)