Skip to content

Merge branch 'master' of https://github.com/petrochuk/Andronix #9

Merge branch 'master' of https://github.com/petrochuk/Andronix

Merge branch 'master' of https://github.com/petrochuk/Andronix #9

Workflow file for this run

name: Pull Request
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
strategy:
matrix:
configuration: [Debug, Release]
runs-on: windows-latest # For a list of available runner types, refer to
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on
env:
Solution_Name: src/Andronix.sln
Test_Project_Path: src/CoreTests/CoreTests.csproj
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
- name: Setup MSBuild.exe
uses: microsoft/setup-msbuild@v2
- name: Restore
run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration
env:
Configuration: ${{ matrix.configuration }}
# Restore the application to populate the obj folder with RuntimeIdentifiers
- name: Build
run: msbuild $env:Solution_Name /t:Build /p:Configuration=$env:Configuration
env:
Configuration: ${{ matrix.configuration }}