Skip to content

Commit

Permalink
simplified workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
drexlerd committed Jan 10, 2024
1 parent 4bfdba7 commit 4469009
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 4469009

Please sign in to comment.