diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 222e8a85c..99f7c4cb5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: @@ -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: @@ -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 }}