Merge pull request #9 from jaccarmac/wip-core #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Build" | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- "*" | |
jobs: | |
build: | |
name: "Build" | |
runs-on: ${{ matrix.runner }} | |
strategy: | |
matrix: | |
runner: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
defaults: | |
run: | |
working-directory: src | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: "8.0.x" | |
- name: Build Kl.sln | |
run: dotnet build Kl.sln | |
- name: Test Kl.sln | |
run: dotnet test Kl.sln | |
- name: Run Kl.Get | |
run: dotnet run --project Kl.Get | |
- name: Run Kl.Make | |
run: dotnet run --project Kl.Make | |
- name: Build Shen.sln | |
run: dotnet build Shen.sln | |
- name: Build Shen.sln | |
run: dotnet test Shen.sln | |
- name: Run Shen.TestSuite | |
run: dotnet run --project Shen.TestSuite |