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 1bd81bf commit f4413d1
Showing 1 changed file with 3 additions and 24 deletions.
27 changes: 3 additions & 24 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net

name: build
name: Build

on:
push:
Expand All @@ -10,9 +10,9 @@ on:
branches: [ "master" ]

jobs:
build-ubuntumac:
build:
runs-on: ${{ matrix.os }}
name: Build ${{ matrix.os }}
name: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
Expand All @@ -37,24 +37,3 @@ jobs:
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.x
- name: Restore dependencies
run: dotnet restore ./MetaMorpheus/MetaMorpheus.sln
- name: Build
run: dotnet build --no-restore ./MetaMorpheus/MetaMorpheus.sln --configuration ${{ matrix.configuration }}
- name: Test
run: dotnet test ./MetaMorpheus/Test/Test.csproj --verbosity normal --configuration ${{ matrix.configuration }}

0 comments on commit f4413d1

Please sign in to comment.