diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 48ab1e70..f8ef502c 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -33,13 +33,12 @@ jobs: - name: Configure, Build, and Install Dependencies # if: steps.cache-dependencies.outputs.cache-hit != 'true' run: | - pwd - cmake -S dependencies -B dependencies/build -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/dependencies/installs - cmake --build dependencies/build -j$(nproc) + cd dependencies + cmake -S . -B build -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/dependencies/installs + cmake --build build -j$(nproc) - name: Configure, and Build Loki run: | - pwd cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_BENCHMARKING=ON -S . -B build -DCMAKE_PREFIX_PATH=$GITHUB_WORKSPACE/dependencies/installs cmake --build build -j$(nproc) diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml index 0f97dfbf..4e906d2b 100644 --- a/.github/workflows/unittests.yml +++ b/.github/workflows/unittests.yml @@ -22,9 +22,9 @@ jobs: - name: Configure, Build, and Install Dependencies # if: steps.cache-dependencies.outputs.cache-hit != 'true' run: | - echo $GITHUB_WORKSPACE - cmake -S dependencies -B dependencies/build -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/dependencies/installs - cmake --build dependencies/build -j$(nproc) + cd dependencies + cmake -S . -B build -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/dependencies/installs + cmake --build build -j$(nproc) - name: Configure, and Build Loki run: |