Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nbollis authored Aug 16, 2024
1 parent 90ca745 commit 1bd81bf
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ on:
branches: [ "master" ]

jobs:
build:

build-ubuntumac:
runs-on: ${{ matrix.os }}
name: Build ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
Expand All @@ -24,13 +24,34 @@ jobs:
configuration: UbuntuMac
- os: windows-latest
configuration: Release
- os: windows-latest
configuration: Debug

steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.204
- name: Restore dependencies
run: dotnet restore ./MetaMorpheus/MetaMorpheus.sln
- name: Build
run: dotnet build --no-restore ./MetaMorpheus/MetaMorpheus.sln --configuration ${{ matrix.configuration }}

test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest]
cofiguration: [Release, Debug]

steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.204
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore ./MetaMorpheus/MetaMorpheus.sln
- name: Build
Expand Down

0 comments on commit 1bd81bf

Please sign in to comment.