Skip to content

Commit

Permalink
Try
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricardo Roldao authored and Ricardo Roldao committed May 20, 2024
1 parent 8b674ea commit 671103e
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/makefile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,17 @@ jobs:
- name: "Run tests"
run: |
dir ${{ runner.workspace }}\\install\\lib
set LD_LIBRARY_PATH=${{ runner.workspace }}\\install\\lib
set COMMONAPI_CONFIG=${{ github.workspace }}\\src\\test\\commonapi-dbus.ini
cd ${{ runner.workspace }}\capicxx-dbus-runtime\build-dbus-runtime\src\test
ctest -C Debug --test-dir "${{ github.workspace }}\\src\\test" -V
$env:PATH += ";${{ runner.workspace }}\install\bin"
$env:PATH += ";${{ github.workspace }}\build-core-runtime\Debug"
$env:PATH += ";${{ github.workspace }}\build-dbus-runtime\Debug"
$dbus_daemon = Start-Job -ScriptBlock {
& ${{ runner.workspace }}\install\bin\dbus-daemon --config-file=${{ runner.workspace }}\install\share\dbus-1\session.conf --nofork --print-address
}
Start-Sleep -Seconds 1
$env:DBUS_SESSION_BUS_ADDRESS = Receive-Job $dbus_daemon
try {
ctest -C Debug --test-dir ${{ github.workspace }}\build-core-runtime -V
exit $LASTEXITCODE
} finally {
Stop-Job $dbus_daemon
}

0 comments on commit 671103e

Please sign in to comment.