Skip to content

Commit

Permalink
will need symlink
Browse files Browse the repository at this point in the history
  • Loading branch information
galabovaa committed Jan 8, 2025
1 parent faf114b commit dc9b25f
Showing 1 changed file with 31 additions and 23 deletions.
54 changes: 31 additions & 23 deletions .github/workflows/extra-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,29 +24,37 @@ jobs:
with:
repository: galabovaa/highs-unit-tests
ref: main
path: HiGHS/highs-unit-tests
path: highs-unit-tests

# - name: Symlink extra tests to HiGHS
# working-directory: HiGHS
# run: ls -a

- name: Create Build Environment
run: cmake -E make_directory ${{runner.workspace}}/build

- name: Configure CMake
shell: bash
working-directory: ${{runner.workspace}}/build
run: cmake $GITHUB_WORKSPACE -DALL_TESTS=ON -DBUILD_EXTRA_UNIT_TESTS=ON
- name: Symlink extra tests to HiGHS
working-directory: HiGHS
run: |
ls -a
pwd
- name: Build
working-directory: ${{runner.workspace}}/build
shell: bash
- name: Symlink extra tests
working-directory: highs-unit-tests
run: |
cmake --build . --parallel
- name: Test
working-directory: ${{runner.workspace}}/build
shell: bash
# Execute tests defined by the CMake configuration.
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: ctest --parallel --timeout 300 --output-on-failure
ls -a
pwd
# - name: Create Build Environment
# run: cmake -E make_directory ${{runner.workspace}}/build

# - name: Configure CMake
# shell: bash
# working-directory: ${{runner.workspace}}/build
# run: cmake $GITHUB_WORKSPACE -DALL_TESTS=ON -DBUILD_EXTRA_UNIT_TESTS=ON

# - name: Build
# working-directory: ${{runner.workspace}}/build
# shell: bash
# run: |
# cmake --build . --parallel

# - name: Test
# working-directory: ${{runner.workspace}}/build
# shell: bash
# # Execute tests defined by the CMake configuration.
# # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
# run: ctest --parallel --timeout 300 --output-on-failure

0 comments on commit dc9b25f

Please sign in to comment.