From 578bf1e83f31df93e52bc5982334552624038936 Mon Sep 17 00:00:00 2001 From: Lars Melchior Date: Mon, 13 Apr 2020 17:34:05 +0200 Subject: [PATCH] use sudo to install --- .github/workflows/install.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index a352d69..3ad25c9 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -16,16 +16,16 @@ jobs: - name: install run: | cmake -H. -Bbuild - cmake --build build - cmake --build build --target install + sudo cmake --build build --target install + rm -rf build - name: configure - run: cmake -Htest -Bbuild/test -DTEST_INSTALLED_VERSION=1 + run: cmake -Htest -Bbuild -DTEST_INSTALLED_VERSION=1 - name: build - run: cmake --build build/test --config Debug + run: cmake --build build --config Debug - name: test run: | - cd build/test + cd build ctest --build-config Debug