Skip to content

Commit

Permalink
fixing core tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gitting-around committed Oct 31, 2024
1 parent ebc6f87 commit 879dbc2
Showing 1 changed file with 21 additions and 8 deletions.
29 changes: 21 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,21 +125,34 @@ jobs:
echo Dependencies
otool -L build/darwin-x64/rabbitmq-fmu/rabbitmq.dylib
- name: Run unit tests on UNIX
if: matrix.os != 'windows-latest'
- name: Run unit tests on LINUX
if: matrix.os != 'ubuntu-22.04'
shell: bash
run: |
echo About to run unit-test-rabbitmq and unit-test-rabbitmq-core
ctest --test-dir build/linux-x64 -R unit-test-rabbitmq
echo Running unit-test-rabbitmq-core
./build/linux-x64/rabbitmq-core/unit-test-rabbitmq-core
echo Running unit-test-rabbitmq
echo core stuff
ls ./build/linux-x64/rabbitmq-core/
echo fmu stuff
ls ./build/linux-x64/rabbitmq-fmu
echo Tests complete
- name: Run unit tests on MACOS
if: matrix.os == 'macos-13'
shell: bash
run: |
export target=$(cat target)
echo $(pwd)
echo About to run unit-test-rabbitmq and unit-test-rabbitmq-core
ctest --test-dir build/$target -R unit-test-rabbitmq
ctest --test-dir build/darwin-x64 -R unit-test-rabbitmq
echo Running unit-test-rabbitmq-core
./build/$target/rabbitmq-core/unit-test-rabbitmq-core
./build/darwin-x64/rabbitmq-core/unit-test-rabbitmq-core
echo Running unit-test-rabbitmq
echo core stuff
ls ./build/$target/rabbitmq-core/
ls ./build/darwin-x64/rabbitmq-core/
echo fmu stuff
ls ./build/$target/rabbitmq-fmu
ls ./build/darwin-x64/rabbitmq-fmu
echo Tests complete
- name: Run unit tests on WIN
Expand Down

0 comments on commit 879dbc2

Please sign in to comment.