From 15e6c3c9970f56455cdcaed8899ece592b3fd064 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wies=C5=82aw=20S=CC=8Colte=CC=81s?= Date: Sat, 3 Sep 2022 21:00:45 +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