[Pull Request] New project structure #358
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 Universal | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- ".*/**" | |
- "**/*.md" | |
pull_request: | |
branches: | |
- main | |
paths-ignore: | |
- ".*/**" | |
- "**/*.md" | |
workflow_dispatch: | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: dev=main | |
submodules: "true" | |
- name: Checkout KitX SDK | |
uses: actions/checkout@v4 | |
with: | |
repository: "Crequency/KitX-SDK" | |
ref: "dev=main" | |
path: "KitX SDK" | |
submodules: "true" | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: | | |
8.0.x | |
- name: Build Contracts | |
working-directory: "KitX Standard/KitX Contracts" | |
run: | | |
cd "KitX.Contract.CSharp" | |
dotnet build -c Release | |
- name: Build Shared | |
working-directory: "KitX Standard/KitX Shared" | |
run: | | |
cd "KitX.Shared.CSharp" | |
dotnet build -c Release | |
- name: Build File Formats | |
working-directory: "KitX Standard/KitX File Formats" | |
run: | | |
cd "KitX.FileFormats.CSharp" | |
dotnet build -c Release | |
- name: Build Dashboard | |
working-directory: "KitX Clients/KitX Dashboard" | |
run: | | |
cd "KitX Dashboard" | |
dotnet build -c Release |