Skip to content

Commit

Permalink
Improvements to test-windows.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dylon committed Feb 21, 2024
1 parent c67e528 commit 5887e79
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,19 @@ jobs:
git clone --single-branch --branch master https://github.com/emil-e/rapidcheck.git ~/rapidcheck
pushd ~/rapidcheck
git checkout $RAPIDCHECK_GIT_SHA
cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=ON -DRC_ENABLE_GMOCK=ON -DRC_ENABLE_GTEST=ON
cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DRC_ENABLE_GTEST=ON
cmake --build build --config ${{ matrix.build_type }}
cmake --install build --config ${{ matrix.build_type }}
popd
- name: Configure CMake
shell: bash -el {0}
run: cmake -B build -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DBUILD_TESTS=ON -DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=ON
run: cmake -B build -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DBUILD_TESTS=ON

- name: Build
shell: bash -el {0}
run: cmake --build build --config ${{ matrix.build_type }}

- name: Test
shell: bash -el {0}
run: ./build/test/test-liblevenshtein
run: ./build/test/test-liblevenshtein.exe

0 comments on commit 5887e79

Please sign in to comment.