Skip to content

Commit

Permalink
Merge pull request #8 from NathanQuellec/master
Browse files Browse the repository at this point in the history
Release 0.1.0
  • Loading branch information
NathanQuellec authored Dec 25, 2022
2 parents ce2d7f4 + 2384328 commit 3dc2b87
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Workflow for WSLStudio

on:
push:
branches: [ "master", "develop", "release/**" ]
pull_request:
branches: [ "master", "develop", "release/**" ]

jobs:
build:
strategy:
matrix:
configuration: [Debug, Release]
platform: [x64]

runs-on: windows-latest

# TODO: Update environment variables.
env:
Solution_Name: WSLStudio.sln
Project_Name: WSLStudio
Test_Project_Name: WSLStudio.Tests.MSTest

steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Install .NET Core
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.0.x

- name: Setup MSBuild.exe
uses: microsoft/[email protected]

- name: Restore
run: dotnet restore $env:Solution_Name

- name: Build
run: msbuild $env:Solution_Name /p:Configuration=${{ matrix.configuration }} /p:Platform=${{ matrix.platform }}

#- name: Test
# run: dotnet test $env:Test_Project_Name /p:Configuration=${{ matrix.configuration }} /p:Platform=${{ matrix.platform }}

0 comments on commit 3dc2b87

Please sign in to comment.