Skip to content

Commit

Permalink
Fixes for CI jobs.
Browse files Browse the repository at this point in the history
  • Loading branch information
sipsorcery committed Dec 14, 2020
1 parent 2dab0ce commit 0bf0180
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .appveyor-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ build_script:
test_script:
# TODO: Track down why macos fails to determine the local interface for IPv6 destinations on approx. every second test run.
# possibly to do with different vm configs but same thing is happening on both appveyor and GitHub Actions CI's.
- dotnet test test/unit/SIPSorcery.UnitTests.csproj -c Release --filter "FullyQualifiedName!=SIPSorcery.SIP.UnitTests.SIPTransportUnitTest.IPv4TlsLoopbackSendReceiveTest&FullyQualifiedName!=SIPSorcery.SIP.UnitTests.SIPTransportUnitTest.IPv6TlsLoopbackSendReceiveTest&FullyQualifiedName!=SIPSorcery.Sys.UnitTests.NetServicesUnitTest.GetLocalForInternetIPv6AdressUnitTest&FullyQualifiedName!=SIPSorcery.Net.UnitTests.DtlsUtilsUnitTest.LoadSecretFromArchiveUnitTest&FullyQualifiedName!=SIPSorcery.Net.UnitTests.RtpIceChannelUnitTest.CheckPeerReflexiveReplacedByHostCandidatesUnitTest&FullyQualifiedName!=CheckSuccessfulConnectionForHostCandidatesUnitTest"
- dotnet test test/unit/SIPSorcery.UnitTests.csproj -c Release --framework netcoreapp3.1
#on_finish:
# - sh: export APPVEYOR_SSH_BLOCK=true
# - sh: curl -sflL 'https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-ssh.sh' | bash -e -
Expand Down
5 changes: 3 additions & 2 deletions .appveyor-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ init:
build_script:
- uname -a
- dotnet --version
#- dotnet build src/SIPSorcery.sln --framework netcoreapp3.1
test_script:
- dotnet test test/unit/SIPSorcery.UnitTests.csproj -c Release
- sh:
dotnet test test/unit/SIPSorcery.UnitTests.csproj -c Release --framework netcoreapp3.1
dotnet test test/unit/SIPSorcery.UnitTests.csproj -c Release --framework net5
#on_finish:
# - sh: export APPVEYOR_SSH_BLOCK=true
# - sh: curl -sflL 'https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-ssh.sh' | bash -e -
2 changes: 1 addition & 1 deletion .github/workflows/sipsorcery-core-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ jobs:
- name: Install dependencies
run: dotnet restore src/SIPSorcery.sln
- name: Build
run: dotnet build src/SIPSorcery.sln -c Release --no-restore --framework ${{ matrix.framework }}
run: dotnet build src/SIPSorcery.sln -c Release --framework ${{ matrix.framework }}
- name: Unit tests
run: dotnet test test/unit/SIPSorcery.UnitTests.csproj -c Release --no-build --framework ${{ matrix.framework }}

0 comments on commit 0bf0180

Please sign in to comment.