-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
be3f025
commit 486deb3
Showing
2 changed files
with
23 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -84,17 +84,6 @@ jobs: | |
- uses: lukka/[email protected] | ||
if: matrix.os != 'windows-latest' | ||
|
||
|
||
# why not gcc | ||
# - name: Set up CLANG | ||
# if: matrix.os == 'ubuntu-22.04' | ||
# uses: egor-tensin/setup-clang@v1 | ||
# with: | ||
# version: latest | ||
# platform: x64 | ||
|
||
|
||
|
||
- name: Build linux | ||
if: matrix.os == 'ubuntu-22.04' | ||
shell: bash | ||
|
@@ -104,14 +93,7 @@ jobs: | |
if: matrix.os == 'macos-13' | ||
shell: bash | ||
run: ./scripts/_build_base.sh darwin-x64 darwin-x86_64 | ||
|
||
# - name: Set Perl environment variables # https://github.com/sfackler/rust-openssl/issues/2149 | ||
# if: matrix.os == 'windows-latest' | ||
# run: | | ||
# cpan -i Locale::Maketext::Simple | ||
# echo "PERL=$((where.exe perl)[0])" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8 | ||
# echo "OPENSSL_SRC_PERL=$((where.exe perl)[0])" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8 | ||
|
||
|
||
- name: Build Windows | ||
if: matrix.os == 'windows-latest' | ||
shell: msys2 {0} | ||
|
@@ -147,30 +129,20 @@ jobs: | |
if: matrix.os != 'windows-latest' | ||
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 | ||
echo Running unit-test-rabbitmq-core | ||
./build/linux-x64/rabbitmq-core/unit-test-rabbitmq-core | ||
echo Running unit-test-rabbitmq | ||
./build/linux-x64/rabbitmq-core/unit-test-rabbitmq | ||
echo Tests complete | ||
- name: Run unit tests on WIN | ||
#echo About to run unit-test-rabbitmq and unit-test-rabbitmq-core | ||
#ctest --output-on-failure --test-dir build/$target -R unit-test-rabbitmq | ||
#echo Tests complete | ||
if: matrix.os == 'windows-latest' | ||
shell: bash | ||
run: | | ||
ls | ||
ls build/ | ||
ctest --test-dir build/win-x64 --output-on-failure -R unit-test-rabbitmq | ||
echo Tests complete | ||
# pacman -S --noconfirm mingw-w64-x86_64-gcc-libs | ||
# cmake --install build/win-x64 | ||
# echo check for dll dependencies for the core test | ||
# ldd build/win-x64/rabbitmq-core/unit-test-rabbitmq-core.exe | ||
# echo check for dll dependencies for the container test | ||
# ldd build/win-x64/rabbitmq-fmu/unit-test-rabbitmq.exe | ||
# Call ctest | ||
- name : Prep for integration tests UBUNTU # these need additional scripts that produce data to the rabbitmq, require rabbitmq server; add -u to see script output | ||
if: matrix.os == 'ubuntu-22.04' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters