Skip to content

Commit

Permalink
Add build dependencies in test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tobre1 committed Nov 10, 2023
1 parent 2c27550 commit b655c5b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/linux_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,11 @@ jobs:
-D CMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \
-D VIENNALS_BUILD_TESTS=ON
- name: Build Dependencies
run: cmake --build ./build --target buildDependencies

- name: Build Tests
run: cmake --build ./build
run: cmake --build ./build --target buildTests

- name: Run Tests
working-directory: ${{github.workspace}}/build
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/macos_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,11 @@ jobs:
-D OpenMP_CXX_LIB_NAMES="omp" \
-D OpenMP_omp_LIBRARY="$(brew --prefix libomp)/lib/libomp.a"
- name: Build Dependencies
run: cmake --build ./build --target buildDependencies

- name: Build Tests
run: cmake --build ./build
run: cmake --build ./build --target buildTests

- name: Run Tests
working-directory: ${{github.workspace}}/build
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/windows_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,11 @@ jobs:
- name: Configure
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DVIENNALS_BUILD_TESTS=ON

- name: Build
run: cmake --build ${{github.workspace}}/build
- name: Build Dependencies
run: cmake --build ${{github.workspace}}/build --target buildDependencies

- name: Build Tests
run: cmake --build ${{github.workspace}}/build --target buildTests

- name: Add VTK to PATH
run: echo "${{github.workspace}}\dependencies\Install\vtk_external\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
Expand Down

0 comments on commit b655c5b

Please sign in to comment.