Skip to content

Commit

Permalink
Create build-samples.yml (#279)
Browse files Browse the repository at this point in the history
* Create build-samples.yml
  • Loading branch information
vicancy authored Jun 12, 2024
1 parent e406a11 commit 7e7c310
Show file tree
Hide file tree
Showing 123 changed files with 37,899 additions and 14,435 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/build-samples.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: build samples

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build-aspnetcore-samples:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Build netcore projects
run: |
pushd samples
dotnet build
popd
build-aspnet-samples:
runs-on: windows-latest

steps:
- uses: actions/checkout@v4
- name: Install .NET Framework 4.6.1 Developer Pack
run: choco install netfx-4.6.1-devpack -y
- name: Setup MSBuild.exe
uses: microsoft/setup-msbuild@v2
- name: Build aspnet projects
run: |
pushd aspnet-samples
nuget restore
msbuild aspnet-samples.sln
popd
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ More advanced samples are listed as below:
* [Flight Map: Realtime Monitoring Dashboard using Azure SignalR Service](samples/FlightMap)

***Archived*** Chat Room Example under AspNetCore 2.1 version:
* [Chat Room Example under AspNetCore 2.1.0](samples/ChatRoom.NetCore21/ChatRoom/README.md)
* [Chat Room Example under AspNetCore 2.1.0](https://github.com/aspnet/AzureSignalR-samples/tree/archived/netcore21/samples/ChatRoom.NetCore21/ChatRoom/README.md)

## ASP.NET SignalR samples

Expand Down
421 changes: 421 additions & 0 deletions aspnet-samples/AdvancedChatRoom/AdvancedChatRoom.csproj

Large diffs are not rendered by default.

25 changes: 0 additions & 25 deletions aspnet-samples/AdvancedChatRoom/AdvancedChatRoom.sln

This file was deleted.

274 changes: 0 additions & 274 deletions aspnet-samples/AdvancedChatRoom/ChatSample.AspNet.csproj

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 0 additions & 4 deletions aspnet-samples/AdvancedChatRoom/Scripts/jquery-1.6.4.min.js

This file was deleted.

Loading

0 comments on commit 7e7c310

Please sign in to comment.