From 327e44ed0b2038a1b457bab3863137b059e9c41f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wies=C5=82aw=20=C5=A0olt=C3=A9s?= Date: Tue, 5 Oct 2021 23:02:52 +0200 Subject: [PATCH] Create build.yml --- .github/workflows/build.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..f36f2fe --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,27 @@ +name: CI + +on: + push: + branches: + - main + - release/* + pull_request: + branches: + - main + +jobs: + build: + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] + name: Build ${{ matrix.os }} + runs-on: ${{ matrix.os }} + + steps: + - uses: actions/checkout@v1 + - name: Setup .NET Core + uses: actions/setup-dotnet@v1 + - name: Build Release + run: dotnet build --configuration Release + - name: Test Release + run: dotnet test --configuration Release