Skip to content

Commit

Permalink
Merge pull request #26 from simdutf/add_ci
Browse files Browse the repository at this point in the history
let us add CI
  • Loading branch information
Nick-Nuon authored Aug 16, 2024
2 parents 8361fe1 + 01ef4bd commit efa3bb8
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: .NET

on: [pull_request] # add push later

jobs:
build:
name: Build and test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest] # add later:, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4

- name: Setup .NET 8.0
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Unit tests
run: dotnet test --verbosity m --no-build
continue-on-error: false

0 comments on commit efa3bb8

Please sign in to comment.