diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml new file mode 100644 index 0000000..aaf84af --- /dev/null +++ b/.github/workflows/dotnetcore.yml @@ -0,0 +1,26 @@ +name: CPlugin.Net + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + build: + strategy: + matrix: + os: [windows-latest, ubuntu-latest, macOS-latest] + dotnet-version: ['6.0.x', '7.0.x', '8.0.x'] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v4 + - name: Setup dotnet + uses: actions/setup-dotnet@v3 + with: + dotnet-version: ${{ matrix.dotnet-version }} + - name: Test + run: | + dotnet test ./tests/CPlugin.Net/CPlugin.Net.Tests.csproj \ No newline at end of file