Skip to content

Commit

Permalink
add tests to osx build script
Browse files Browse the repository at this point in the history
  • Loading branch information
AminSojoudi authored and zpostfacto committed Sep 8, 2024
1 parent 1736cfa commit 37fcabf
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ jobs:
run: cmake -B ${{github.workspace}}/build
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_TOOLCHAIN_FILE=${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake
-DBUILD_TESTS=ON

- name: Build
# Build the program with the given configuration
Expand All @@ -117,3 +118,13 @@ jobs:
# Execute tests defined by the CMake configuration.
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: ctest -C Release

- name: Test crypto
working-directory: ${{github.workspace}}/build/bin
run: ./test_crypto
shell: bash

- name: Test connection
working-directory: ${{github.workspace}}/build/bin
run: ./test_connection identity quick lane_quick_queueanddrain lane_quick_priority_and_background
shell: bash

0 comments on commit 37fcabf

Please sign in to comment.