Skip to content

Commit

Permalink
Merge pull request #179 from gdziadkiewicz/master
Browse files Browse the repository at this point in the history
Merge Windows and MacOS build jobs
  • Loading branch information
nojaf authored Dec 12, 2023
2 parents 32ec783 + e167fc2 commit d421c7d
Showing 1 changed file with 16 additions and 20 deletions.
36 changes: 16 additions & 20 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Build & Tests

env:
DOTNET_NOLOGO: true

on:
workflow_dispatch:
push:
Expand All @@ -8,34 +11,27 @@ on:
branches: [ master ]

jobs:
Windows:
runs-on: windows-latest
Build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.402
- name: Build
run: .\build.cmd -t Bundle

Linux:
run: ./build.sh -t Bundle
shell: bash

Docker:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Build
run: ./docker-build.sh -t Bundle

MacOS:
runs-on: macos-latest

steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.402
- name: Build
run: ./build.sh -t Bundle

0 comments on commit d421c7d

Please sign in to comment.