Skip to content

Commit

Permalink
feat: Add CI test build
Browse files Browse the repository at this point in the history
  • Loading branch information
BiDuang authored Nov 29, 2023
1 parent f81eee1 commit 1cba2ec
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/Test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Test

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

jobs:
test_build:
name: Test build on ${{ matrix.os }} .NET 8.0
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/[email protected]
with:
dotnet-version: 8.0
- uses: actions/checkout@v4
- name: Restore packages
run: dotnet restore
- name: Build Test
run: dotnet build -c Release --no-restore

0 comments on commit 1cba2ec

Please sign in to comment.