9 Commits
Author SHA1 Message Date
renovate-bot 8dc5bb25bf Update dependency YamlDotNet to v18
PR and Push Build/Test / build-and-test (push) Successful in 5m57s
PR and Push Build/Test / build-and-test (pull_request) Successful in 5m50s
2026-05-27 02:25:40 +00:00
codex d607b957bb Make summary instruction test line-ending neutral
PR and Push Build/Test / build-and-test (push) Successful in 6m11s
2026-05-26 12:19:13 +02:00
codex 52f530f0b6 Add Wine PR build and test workflow
PR and Push Build/Test / build-and-test (push) Successful in 6m12s
2026-05-26 12:02:51 +02:00
codex 0a8658f714 Merge pull request 'Update dependency Microsoft.Agents.AI.OpenAI to 1.6.2' (#6) from renovate/microsoft.agents.ai.openai-1.x into main 2026-05-26 11:38:23 +02:00
codex 4435983567 Merge pull request 'Update dependency Microsoft.NET.Test.Sdk to v18' (#4) from renovate/microsoft.net.test.sdk-18.x into main 2026-05-26 11:38:15 +02:00
codex 46b668779a Merge pull request 'Update dependency coverlet.collector to v10' (#3) from renovate/coverlet.collector-10.x into main 2026-05-26 11:38:07 +02:00
renovate-bot 091dc4caab Update dependency Microsoft.Agents.AI.OpenAI to 1.6.2 2026-05-23 02:24:48 +00:00
renovate-bot 1f5f1d6da4 Update dependency Microsoft.NET.Test.Sdk to v18 2026-05-22 02:25:27 +00:00
renovate-bot c72bd0d2cc Update dependency coverlet.collector to v10 2026-05-21 09:08:05 +00:00
4 changed files with 103 additions and 7 deletions
@@ -0,0 +1,92 @@
name: PR and Push Build/Test
on:
pull_request:
push:
workflow_dispatch:
jobs:
build-and-test:
runs-on: ubuntu-latest
env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1"
DOTNET_NOLOGO: "1"
WINEDEBUG: "-all"
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: "10.0.x"
- name: Install Wine
run: |
export DEBIAN_FRONTEND=noninteractive
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install -y --no-install-recommends wine64 wine32 winbind unzip
if [ -d /usr/lib/wine ]; then
echo "/usr/lib/wine" >> "${GITHUB_PATH}"
export PATH="${PATH}:/usr/lib/wine"
fi
if command -v wine >/dev/null 2>&1; then
WINE_BIN="$(command -v wine)"
elif command -v wine64 >/dev/null 2>&1; then
WINE_BIN="$(command -v wine64)"
elif [ -x /usr/lib/wine/wine64 ]; then
WINE_BIN="/usr/lib/wine/wine64"
elif [ -x /usr/lib/wine/wine ]; then
WINE_BIN="/usr/lib/wine/wine"
else
echo "No wine binary found after installation."
ls -la /usr/lib/wine || true
exit 1
fi
echo "WINE_BIN=${WINE_BIN}" >> "${GITHUB_ENV}"
"${WINE_BIN}" --version
- name: Restore (Windows target)
run: |
dotnet restore MeetingAssistant.Tests/MeetingAssistant.Tests.csproj \
-p:EnableWindowsTargeting=true \
-r win-x64
- name: Build (Windows target)
run: |
dotnet build MeetingAssistant.Tests/MeetingAssistant.Tests.csproj \
-c Release \
--no-restore \
-p:EnableWindowsTargeting=true \
-p:RuntimeIdentifier=win-x64 \
--nologo
- name: Install Windows .NET SDK for Wine
run: |
SDK_VERSION="$(dotnet --version)"
WIN_DOTNET_DIR="${RUNNER_TEMP}/dotnet-win"
WIN_DOTNET_ZIP="${RUNNER_TEMP}/dotnet-sdk-win-x64.zip"
echo "Using SDK version: ${SDK_VERSION}"
curl -fSL "https://builds.dotnet.microsoft.com/dotnet/Sdk/${SDK_VERSION}/dotnet-sdk-${SDK_VERSION}-win-x64.zip" -o "${WIN_DOTNET_ZIP}"
rm -rf "${WIN_DOTNET_DIR}"
mkdir -p "${WIN_DOTNET_DIR}"
unzip -oq "${WIN_DOTNET_ZIP}" -d "${WIN_DOTNET_DIR}"
echo "WIN_DOTNET_DIR=${WIN_DOTNET_DIR}" >> "${GITHUB_ENV}"
"${WINE_BIN}" "${WIN_DOTNET_DIR}/dotnet.exe" --info
- name: Run tests via Wine (Windows dotnet host)
run: |
"${WINE_BIN}" "${WIN_DOTNET_DIR}/dotnet.exe" test MeetingAssistant.Tests/MeetingAssistant.Tests.csproj \
-c Release \
-r win-x64 \
--no-build \
--nologo
- name: Show test output folder on failure
if: failure()
run: |
find MeetingAssistant.Tests -type d -name TestResults -print || true
find MeetingAssistant.Tests -type f -path "*/TestResults/*" -maxdepth 5 -print || true
@@ -8,9 +8,9 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="coverlet.collector" Version="6.0.4" />
<PackageReference Include="coverlet.collector" Version="10.0.1" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="10.0.8" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.5.1" />
<PackageReference Include="xunit" Version="2.9.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5" />
</ItemGroup>
@@ -59,8 +59,7 @@ public sealed class MeetingSummaryInstructionBuilderTests
var instructions = await builder.BuildAsync(artifacts, CancellationToken.None);
Assert.Equal(
"""
var expected = """
Base.
---
@@ -73,8 +72,8 @@ public sealed class MeetingSummaryInstructionBuilderTests
# Beta
Beta instructions.
""",
instructions);
""";
Assert.Equal(NormalizeLineEndings(expected), NormalizeLineEndings(instructions));
}
private static MeetingSessionArtifacts CreateArtifacts(string root)
@@ -108,4 +107,9 @@ public sealed class MeetingSummaryInstructionBuilderTests
Directory.CreateDirectory(folder);
await File.WriteAllTextAsync(Path.Combine(folder, "AGENTS.md"), content);
}
private static string NormalizeLineEndings(string value)
{
return value.Replace("\r\n", "\n", StringComparison.Ordinal);
}
}
+1 -1
View File
@@ -11,7 +11,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Agents.AI.OpenAI" Version="1.6.1" />
<PackageReference Include="Microsoft.Agents.AI.OpenAI" Version="1.6.2" />
<PackageReference Include="Microsoft.CognitiveServices.Speech" Version="1.50.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="10.0.8" />
<PackageReference Include="NAudio" Version="2.3.0" />